mirror of
https://gitflic.ru/project/maks1ms/ocab.git
synced 2024-12-23 16:23:01 +03:00
модуль Database приведён к правильному виду
This commit is contained in:
parent
b33db9203a
commit
0d614cee69
@ -1,6 +1,6 @@
|
||||
from src.core.database.models.chats import Chats
|
||||
from src.core.database.models.messages import Messages
|
||||
from src.core.database.models.users import Users
|
||||
from src.modules.standart.database.models.chats import Chats
|
||||
from src.modules.standart.database.models.messages import Messages
|
||||
from src.modules.standart.database.models.users import Users
|
||||
|
||||
import peewee as pw
|
||||
|
6
src/modules/standart/database/info.json
Normal file
6
src/modules/standart/database/info.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "Database",
|
||||
"description": "Модуль для работы с БД",
|
||||
"author": "OCAB Team",
|
||||
"version": "1.0"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
import unittest
|
||||
|
||||
from src.core.database.api import *
|
||||
from src.core.database.models.base import database
|
||||
from src.modules.standart.database.api import *
|
||||
from src.modules.standart.database.models.base import database
|
||||
|
||||
create_tables(database)
|
||||
|
Loading…
Reference in New Issue
Block a user