mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
16 lines
299 B
Ruby
16 lines
299 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateSocialEventsTable < ActiveRecord::Migration
|
|
def up
|
|
create_table :social_events do |t|
|
|
t.references :conference
|
|
t.string :title
|
|
t.text :description
|
|
t.date :date
|
|
end
|
|
end
|
|
|
|
def down
|
|
drop_table :social_events
|
|
end
|
|
end
|