You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/db/migrate/20131008154516_synchronizat...

23 lines
548 B

class SynchronizationsMigration < Sequel::Migration
def up
create_table :synchronizations do
String :id, null: false, primary_key: true
String :name, text: true
Integer :interval
String :url, text: true
String :state
Integer :user_id
DateTime :created_at, null: false
DateTime :updated_at, null: false
DateTime :run_at
DateTime :runned_at
Integer :retried_times
end
end
def down
drop_table :synchronizations
end
end