You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
302 B

def migrate_up(manager):
manager.execute('ALTER TABLE hosts ADD `invalid` bool NOT NULL')
manager.execute('ALTER TABLE labels ADD `invalid` bool NOT NULL')
def migrate_down(manager):
manager.execute('ALTER TABLE hosts DROP invalid')
manager.execute('ALTER TABLE labels DROP invalid')