cartodb/db/migrate/20120924165043_assets.rb
2020-06-15 10:58:47 +08:00

14 lines
242 B
Ruby

Sequel.migration do
up do
create_table :assets do
primary_key :id
Integer :user_id, :null => false, :index => true
String :public_url, :text => true
end
end
down do
drop_table :assets
end
end