RubyUtils/db/migrations/0001_history.rb

15 lines
301 B
Ruby

Sequel.migration do
change do
create_table :somecolumns do
primary_key :id
column :host, String, null: false
column :port, Integer
column :updated_at, DateTime
column :created_at, DateTime
index :host
index [:host, :port]
end
end
end