cartodb-4.29/db/migrate/20171115114600_add_state_to_users_without_default.rb

13 lines
195 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :state, :text
end,
Proc.new do
drop_column :users, :state
end
)