fix migration add_text_to_widgets

This commit is contained in:
Amir Nissim 2014-07-28 16:27:23 +03:00
parent 236f7f9c04
commit 0d5f001d38

View File

@ -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)