0
0
mirror of https://gitflic.ru/project/maks1ms/ocab.git synced 2024-12-24 00:33:05 +03:00

модуль Database приведён к правильному виду

This commit is contained in:
ilyazheprog 2023-11-29 20:09:08 +07:00
parent b33db9203a
commit 0d614cee69
11 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,6 @@
from src.core.database.models.chats import Chats from src.modules.standart.database.models.chats import Chats
from src.core.database.models.messages import Messages from src.modules.standart.database.models.messages import Messages
from src.core.database.models.users import Users from src.modules.standart.database.models.users import Users
import peewee as pw import peewee as pw

View File

@ -0,0 +1,6 @@
{
"name": "Database",
"description": "Модуль для работы с БД",
"author": "OCAB Team",
"version": "1.0"
}

View File

@ -1,7 +1,7 @@
import unittest import unittest
from src.core.database.api import * from src.modules.standart.database.api import *
from src.core.database.models.base import database from src.modules.standart.database.models.base import database
create_tables(database) create_tables(database)