b865a60bea
- Ticket in user/admin sides ok (respond tested) - Fix seeds - Fix models - Fix all migrations - Add client_... controllers (bills/tickets)
18 lines
313 B
Ruby
18 lines
313 B
Ruby
class CreateClients < ActiveRecord::Migration
|
|
def change
|
|
create_table :clients do |t|
|
|
|
|
t.belongs_to :user
|
|
|
|
t.string :name
|
|
t.string :url
|
|
t.string :activity
|
|
t.text :contact_reasons
|
|
#main contact
|
|
t.integer :contact_id
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|