mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 02:36:24 +03:00
init
This commit is contained in:
10
dyxless/models.py
Normal file
10
dyxless/models.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from flask_login import UserMixin
|
||||
|
||||
from . import db
|
||||
|
||||
|
||||
class User(UserMixin, db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
email = db.Column(db.String(100), unique=True)
|
||||
password = db.Column(db.String(100))
|
||||
name = db.Column(db.String(1000))
|
||||
Reference in New Issue
Block a user