10 lines
269 B
Ruby
10 lines
269 B
Ruby
class CreateClients < ActiveRecord::Migration[5.0]
|
|
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
|