mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
8 lines
237 B
Ruby
8 lines
237 B
Ruby
class ChangeAttachmentDefault < ActiveRecord::Migration
|
|
def up
|
|
change_column_default(:event_attachments, :public, :default => true)
|
|
end
|
|
def down
|
|
change_column_default(:event_attachments, :public, :default => nil)
|
|
end
|
|
end
|