mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-08 02:09:06 -06:00
swath of changes to remove hidden "id" implementation in favor of hidden "role" RBAC implement
This commit is contained in:
@@ -102,7 +102,6 @@ class Search(db.Model):
|
||||
def __repr__(self):
|
||||
return '<Search by {} @ {}>'.format(User.query.filter_by(id=self.user_id).first().username, self.timestamp)
|
||||
|
||||
|
||||
class Post(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
body = db.Column(db.String(140))
|
||||
|
||||
Reference in New Issue
Block a user