Sha256: a25470643907dbed0904d827176ef66c2cb47140d79469da44e170b356fcc02a

Contents?: true

Size: 652 Bytes

Versions: 38

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

class CreateVotingsPollingStationClosures < ActiveRecord::Migration[5.2]
  def change
    create_table :decidim_votings_polling_station_closures do |t|
      t.integer :phase, index: true
      t.string :polling_officer_notes, null: true

      t.belongs_to :decidim_elections_election,
                   null: false,
                   index: false
      t.belongs_to :decidim_votings_polling_station,
                   null: true,
                   index: false
      t.belongs_to :decidim_votings_polling_officer,
                   null: true,
                   index: false

      t.timestamps
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
decidim-elections-0.27.1 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.4 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.27.0 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.3 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.27.0.rc2 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.27.0.rc1 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.2 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.1 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.0 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.0.rc2 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.26.0.rc1 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.2 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.1 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.0 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.0.rc4 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.0.rc3 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.0.rc2 db/migrate/20210412144741_create_votings_polling_station_closures.rb
decidim-elections-0.25.0.rc1 db/migrate/20210412144741_create_votings_polling_station_closures.rb