add new func
This commit is contained in:
12
models.py
Normal file
12
models.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
||||
import datetime
|
||||
|
||||
db = SQLAlchemy()
|
||||
|
||||
class CommissionPersons(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
fio = db.Column(db.String(80), unique=True, nullable=False)
|
||||
ispredsedatel = db.Column(db.Boolean, nullable=False, default=False)
|
||||
isrecenzent = db.Column(db.Boolean, nullable=False, default=False)
|
||||
|
||||
Reference in New Issue
Block a user