mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-10 16:08:30 -06:00
added basic user model
This commit is contained in:
7
flash_auth_app/project/models.py
Normal file
7
flash_auth_app/project/models.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
from . import db
|
||||||
|
|
||||||
|
class User(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