Files
nemo_encoder/db/migrate/20170203091136_create_clients.rb
2017-02-03 17:56:43 +06:30

16 lines
400 B
Ruby

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