android13/external/autotest/tko/migrations/027_user_created_test_attri...

10 lines
255 B
Python

UP_SQL = """
ALTER TABLE test_attributes
ADD COLUMN id integer NOT NULL AUTO_INCREMENT PRIMARY KEY,
ADD COLUMN user_created bool NOT NULL DEFAULT FALSE;
"""
DOWN_SQL = """
ALTER TABLE test_attributes DROP COLUMN user_created, DROP COLUMN id;
"""