mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-06 15:16:22 -06:00
Refactor and merge Zach's work into main
This commit is contained in:
8
models.py
Normal file
8
models.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from flask_login import UserMixin
|
||||
from .create_app 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