Sha256: eede76677628841bd538f14da35e9c9599211a8f7b6c777c5d72592a4d6a9cd7

Contents?: true

Size: 478 Bytes

Versions: 122

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

class CreateRegistrations < ActiveRecord::Migration[5.1]
  def change
    create_table :decidim_meetings_registrations do |t|
      t.references :decidim_user, null: false, index: true
      t.references :decidim_meeting, null: false, index: true

      t.timestamps
    end

    add_index :decidim_meetings_registrations, [:decidim_user_id, :decidim_meeting_id], unique: true, name: "decidim_meetings_registrations_user_meeting_unique"
  end
end

Version data entries

122 entries across 122 versions & 2 rubygems

Version Path
decidim-meetings-0.29.1 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.4 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.27.9 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.29.0 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.3 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.27.8 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.29.0.rc4 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.29.0.rc3 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.29.0.rc2 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.29.0.rc1 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.2 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.27.7 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.1 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.27.6 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.26.10 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.26.9 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.0 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.27.5 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.0.rc5 db/migrate/20170810131100_create_registrations.rb
decidim-meetings-0.28.0.rc4 db/migrate/20170810131100_create_registrations.rb