add new file
This commit is contained in:
15
db/migrate/20170203091136_create_clients.rb
Normal file
15
db/migrate/20170203091136_create_clients.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user