Sha256: e95b522bacd0cc92b1942a0cef93136e72a88a09db700cb163c43fa36c595aa7

Contents?: true

Size: 512 Bytes

Versions: 9

Compression:

Stored size: 512 Bytes

Contents

class AddParticipatoryProcessSteps < ActiveRecord::Migration[5.0]
  def change
    create_table :decidim_participatory_process_steps do |t|
      t.jsonb :title, null: false
      t.jsonb :short_description, null: false
      t.jsonb :description, null: false
      t.datetime :start_date
      t.datetime :end_date
      t.references :decidim_participatory_process,
        foreign_key: true,
        index: { name: 'index_decidim_processes_steps__on_decidim_process_id' }

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.2.0 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.1.0 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.8.1 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.7 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.6 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.5 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.3 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.2 db/migrate/20161017085822_add_participatory_process_steps.rb
decidim-core-0.0.1 db/migrate/20161017085822_add_participatory_process_steps.rb