mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Fix bandaid on migrations...let's call it a cast
This commit is contained in:
parent
6022e3814f
commit
000c764ca3
@ -2,8 +2,8 @@
|
||||
import peewee
|
||||
|
||||
def migrate(migrator, database, **kwargs):
|
||||
migrator.drop_columns('user_servers', permissions=peewee.CharField(default="00000000")) # First argument can be model class OR table name
|
||||
migrator.add_columns('role_servers', permissions=peewee.CharField(default="00000000")) # First argument can be model class OR table name
|
||||
migrator.drop_columns('user_servers', ['permissions']) # First argument can be model class OR table name
|
||||
#migrator.add_columns('role_servers', permissions=peewee.CharField(default="00000000")) # First argument can be model class OR table name
|
||||
"""
|
||||
Write your migrations here.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user