mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
13 lines
274 B
Ruby
13 lines
274 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateEventsRegistrationsTable < ActiveRecord::Migration
|
|
def up
|
|
create_table :events_registrations, id: false do |t|
|
|
t.references :registration, :event
|
|
end
|
|
end
|
|
|
|
def down
|
|
drop_table :events_registrations
|
|
end
|
|
end
|