tab/db/migrate/20150908092731_create_clients.rb
2015-09-08 11:44:07 +02:00

10 lines
264 B
Ruby

class CreateClients < ActiveRecord::Migration
def change
create_table :clients do |t|
t.string :name, null: false, index: true, unique: true
t.string :key, null: false, index: true, unique: true
t.timestamps null: false
end
end
end