Files
grecia/db/migrate/20180614122630_create_proposal_executed_dashboard_actions.rb
Javi Martín c43b0fea64 Use Rails 5 conventions in Dashboard
These models and migrations were added on a branch based on Rails 4.
2019-04-29 13:08:43 -05:00

13 lines
421 B
Ruby

class CreateProposalExecutedDashboardActions < ActiveRecord::Migration[4.2]
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