class CreateProposals < ActiveRecord::Migration
  def change
    create_table :proposals do |t|
      t.string :status #only accept [accepted, refused, open] canceled not MVP
      t.string :proposed_idea
      t.uuid :participation_id

      t.timestamps null: false
    end
    add_foreign_key :proposals, :participations
  end
end

class CreateProposals < ActiveRecord::Migration
  def change
    create_table :proposals do |t|
      t.string :status, default: "open" #only accept [accepted, refused, open] canceled not MVP
      t.string :proposed_idea
      t.uuid :participation_id

      t.timestamps null: false
    end
    add_foreign_key :proposals, :participations
  end
end

Add default value for status to proposal migration
Add default value for status to proposal migration
