This commit is contained in:
RemiZOffAlex
2019-04-26 15:38:41 +03:00
parent 48ebf82a1f
commit 60802cec8e
21 changed files with 48 additions and 75 deletions

View File

@@ -1,11 +1,8 @@
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
__author__ = 'RemiZOffAlex'
__copyright__ = '(c) RemiZOffAlex'
__license__ = 'MIT'
__email__ = 'remizoffalex@mail.ru'
__url__ = 'http://remizoffalex.ru'
__url__ = 'https://remizoffalex.ru'
from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session, sessionmaker

View File

@@ -1,11 +1,8 @@
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
__author__ = 'RemiZOffAlex'
__copyright__ = '(c) RemiZOffAlex'
__license__ = 'MIT'
__email__ = 'remizoffalex@mail.ru'
__url__ = 'http://remizoffalex.ru'
__url__ = 'https://remizoffalex.ru'
import datetime
from sqlalchemy import (
@@ -23,6 +20,9 @@ from . import Base
class User(Base):
"""
Пользователи
"""
__tablename__ = "user"
id = Column(Integer, primary_key=True)