mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
fix migration add_text_to_widgets
This commit is contained in:
parent
236f7f9c04
commit
0d5f001d38
@ -1,5 +1,5 @@
|
||||
from playhouse.migrate import Migrator
|
||||
from redash import db
|
||||
from redash.models import db
|
||||
from redash import models
|
||||
|
||||
|
||||
@ -10,4 +10,4 @@ if __name__ == '__main__':
|
||||
migrator.add_column(models.Widget, models.Widget.text, 'text')
|
||||
migrator.set_nullable(models.Widget, models.Widget.visualization, True)
|
||||
|
||||
db.close_db(None)
|
||||
db.close_db(None)
|
||||
|
Loading…
Reference in New Issue
Block a user