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