Files
nemo_encoder/db/migrate/20170203091136_create_clients.rb
Sunandar 26d42631c7 edit api
2017-02-08 17:35:37 +06:30

13 lines
334 B
Ruby

class CreateClients < ActiveRecord::Migration[5.0]
def change
create_table :clients do |t|
t.string :name,:null => false
t.string :email
t.string :phone
t.string :address
t.string :secrect_key
t.timestamps null: false
end
end
end