class CreateContracts < ActiveRecord::Migration
  def self.up
    create_table :contracts do |t|
      t.column :id, :int
      t.column :finn_id, :int
      t.column :name, :string
      t.column :description, :text
    end
    add_column :category, :contract_id,    :integer
  end

  def self.down
    drop_table :contracts
    remove_column :category, :contract_id
  end
end
