MorningPeak/db/migrate/20150616180901_create_clients.rb
Arthur Poulet b865a60bea Ticket is ready
- Ticket in user/admin sides ok (respond tested)
- Fix seeds
- Fix models
- Fix all migrations
- Add client_... controllers (bills/tickets)
2015-06-18 00:56:01 +02:00

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