• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1def migrate_up(manager):
2    manager.execute("ALTER TABLE hosts MODIFY invalid TINYINT(1) DEFAULT 0")
3
4
5def migrate_down(manager):
6    manager.execute("ALTER TABLE hosts MODIFY invalid TINYINT(1) DEFAULT NULL")
7