Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
refs/heads/release-R26-3701.B
/
.
/
frontend
/
migrations
/
017_add_email_list.py
blob: 5de24326495081d7d5c15afced840f5a87d19216 [
file
] [
log
] [
blame
] [
edit
]
def
migrate_up
(
manager
):
manager
.
execute
(
ADD_COLUMN
)
def
migrate_down
(
manager
):
manager
.
execute
(
DROP_COLUMN
)
ADD_COLUMN
=
'ALTER TABLE jobs ADD COLUMN email_list varchar(250) NOT NULL'
DROP_COLUMN
=
'ALTER TABLE jobs DROP COLUMN email_list'