def downgrade():
    'Migrations for the downgrade.'
    op.execute("\n            UPDATE db_dbnode SET type = 'data.base.Bool.' WHERE type = 'data.bool.Bool.';\n            UPDATE db_dbnode SET type = 'data.base.Float.' WHERE type = 'data.float.Float.';\n            UPDATE db_dbnode SET type = 'data.base.Int.' WHERE type = 'data.int.Int.';\n            UPDATE db_dbnode SET type = 'data.base.Str.' WHERE type = 'data.str.Str.';\n            UPDATE db_dbnode SET type = 'data.base.List.' WHERE type = 'data.list.List.';\n        ")
Migrations for the downgrade.
def downgrade():
    
    op.execute("\n            UPDATE db_dbnode SET type = 'data.base.Bool.' WHERE type = 'data.bool.Bool.';\n            UPDATE db_dbnode SET type = 'data.base.Float.' WHERE type = 'data.float.Float.';\n            UPDATE db_dbnode SET type = 'data.base.Int.' WHERE type = 'data.int.Int.';\n            UPDATE db_dbnode SET type = 'data.base.Str.' WHERE type = 'data.str.Str.';\n            UPDATE db_dbnode SET type = 'data.base.List.' WHERE type = 'data.list.List.';\n        ")