Files
nemo_encoder/db/migrate/20170203091136_create_clients.rb
2017-02-06 18:32:22 +06:30

15 lines
377 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 :product_type
t.string :secrect_key
t.timestamps null: false
t.timestamps
end
end
end