add new file

This commit is contained in:
Sunandar
2017-02-06 18:32:22 +06:30
parent 90eeb2ea1c
commit 5c78a2ca8a
13 changed files with 54 additions and 120 deletions

View File

@@ -1,8 +1,7 @@
class CreateClients < ActiveRecord::Migration[5.0]
def change
create_table :clients do |t|
t.string :name,:null => false
t.string :nrc
t.string :name,:null => false
t.string :email
t.string :phone
t.string :address

View File

@@ -52,7 +52,6 @@ ActiveRecord::Schema.define(version: 20170203091136) do
create_table "clients", force: :cascade do |t|
t.string "name", null: false
t.string "nrc"
t.string "email"
t.string "phone"
t.string "address"