cartodb-4.29/db/migrate/20170523095536_add_last_name_to_users.rb
2020-06-15 10:58:47 +08:00

13 lines
203 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :last_name, :text
end,
Proc.new do
drop_column :users, :last_name
end
)