PostgreSQL add/drop index/unique
This commit is contained in:
@@ -22,7 +22,7 @@ class Status(IntEnum):
|
||||
|
||||
|
||||
class User(Model):
|
||||
username = fields.CharField(max_length=20,)
|
||||
username = fields.CharField(max_length=20)
|
||||
password = fields.CharField(max_length=200)
|
||||
last_login = fields.DatetimeField(description="Last Login", default=datetime.datetime.now)
|
||||
is_active = fields.BooleanField(default=True, description="Is Active")
|
||||
|
||||
Reference in New Issue
Block a user