mirror of
https://github.com/dizedev/vk_lp.git
synced 2026-09-17 05:09:00 +00:00
more cool features
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from sqlalchemy import (BigInteger, Column, Identity, Text)
|
||||
from sqlalchemy.orm import DeclarativeBase
|
||||
|
||||
|
||||
class Base(DeclarativeBase):
|
||||
pass
|
||||
|
||||
|
||||
class UsersTokens(Base):
|
||||
__tablename__ = "users_tokens"
|
||||
|
||||
id = Column("id", BigInteger, Identity(start=1, increment=1, minvalue=1, cycle=False, cache=1), nullable=False, primary_key=True)
|
||||
vkid = Column("vkid", BigInteger, nullable=False)
|
||||
token = Column("token", Text, nullable=False)
|
||||
Reference in New Issue
Block a user