cartodb/db/migrate/20180817160934_add_avatar_url_to_oauth_apps.rb

13 lines
224 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 :oauth_apps, :icon_url, :text, null: false
end,
Proc.new do
drop_column :oauth_apps, :icon_url
end
)