Files
grecia/db/migrate/20180614122630_create_proposal_executed_dashboard_actions.rb
Juan Salvador Pérez García 83f78b1940 Fixes #135
Adds a table with proposed actions in the dashboard. The user can mark
an action as executed.
2018-07-17 17:51:13 +02:00

13 lines
416 B
Ruby

class CreateProposalExecutedDashboardActions < ActiveRecord::Migration
def change
create_table :proposal_executed_dashboard_actions do |t|
t.references :proposal, index: true, foreign_key: true
t.references :proposal_dashboard_action, index: { name: 'index_proposal_action' }, foreign_key: true
t.datetime :executed_at
t.text :comments
t.timestamps null: false
end
end
end