neocities/migrations/085_gandi_contact_handle.rb
2016-04-07 12:51:01 -07:00

14 lines
379 B
Ruby

Sequel.migration do
up {
DB.add_column :sites, :gandi_handle, :text, index: true
# This is not as horrible as it looks.
# It basically serves as a temp password when account is released from reseller account.
DB.add_column :sites, :gandi_password, :text
}
down {
DB.drop_column :sites, :gandi_handle
DB.drop_column :sites, :gandi_password
}
end