tab/db/migrate/20150908092731_create_clients.rb

11 lines
269 B
Ruby
Raw Normal View History

2018-06-20 16:02:33 +00:00
class CreateClients < ActiveRecord::Migration[5.0]
2015-09-08 09:30:11 +00:00
def change
create_table :clients do |t|
t.string :name, null: false, index: true, unique: true
2015-09-08 09:44:07 +00:00
t.string :key, null: false, index: true, unique: true
2015-09-08 09:30:11 +00:00
t.timestamps null: false
end
end
end