Files
nairobi/db/migrate/20180611072816_create_proposal_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

16 lines
481 B
Ruby

class CreateProposalDashboardActions < ActiveRecord::Migration[4.2]
def change
create_table :proposal_dashboard_actions do |t|
t.string :title, limit: 80
t.string :description
t.string :link
t.boolean :request_to_administrators, default: false
t.integer :day_offset, default: 0
t.integer :required_supports, default: 0
t.integer :order, default: 0
t.boolean :active, default: true
t.datetime :hidden_at
end
end
end