cartodb/db/migrate/20131118150048_drop_api_keys.rb

15 lines
274 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
up do
drop_table :api_keys
end
down do
create_table :api_keys do
primary_key :id
String :api_key, null: false, unique: true, index: true
Integer :user_id, null: false
String :domain, null: false
end
end
end