mirror of
https://github.com/logos-co/open-law.git
synced 2025-01-13 08:14:40 +00:00
remove created_at from Interpretation
This commit is contained in:
parent
26cdbb0f2f
commit
c949c6311a
@ -1,5 +1,3 @@
|
|||||||
from datetime import datetime
|
|
||||||
|
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
|
|
||||||
from app import db, models as m
|
from app import db, models as m
|
||||||
@ -13,7 +11,6 @@ class Interpretation(BaseModel):
|
|||||||
text = db.Column(db.Text, unique=False, nullable=False)
|
text = db.Column(db.Text, unique=False, nullable=False)
|
||||||
approved = db.Column(db.Boolean, default=False)
|
approved = db.Column(db.Boolean, default=False)
|
||||||
marked = db.Column(db.Boolean, default=False)
|
marked = db.Column(db.Boolean, default=False)
|
||||||
created_at = db.Column(db.DateTime, default=datetime.now)
|
|
||||||
|
|
||||||
# Foreign keys
|
# Foreign keys
|
||||||
user_id = db.Column(db.ForeignKey("users.id"))
|
user_id = db.Column(db.ForeignKey("users.id"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user