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