cartodb-4.42/db/migrate/20200123155234_add_session_salt.rb

15 lines
311 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :session_salt, String
add_column :user_creations, :session_salt, String
end,
Proc.new do
drop_column :users, :session_salt
drop_column :user_creations, :session_salt
end
)