class CreateProjects < ActiveRecord::Migration[5.2]
  def change
    create_table :projects do |t|
      t.string :name, null: false
      t.string :client_name
      t.string :producer_name
      t.string :producer_address
      t.text :description
      t.text :details
      t.belongs_to :user, foreign_key: true, null: false

      t.timestamps
    end
  end
end
