1UP_SQL = """
2ALTER TABLE afe_hosts ADD COLUMN leased TINYINT(1) NOT NULL DEFAULT '1';
3CREATE INDEX leased_hosts ON afe_hosts (leased, locked);
4"""
5
6DOWN_SQL = """
7DROP INDEX leased_hosts ON afe_hosts;
8ALTER TABLE afe_hosts DROP COLUMN leased;
9"""
10