mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
15 lines
428 B
Ruby
15 lines
428 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveUnusedPhotoColumnsFromVenues < ActiveRecord::Migration
|
|
def up
|
|
remove_column :venues, :photo_updated_at
|
|
remove_column :venues, :photo_file_size
|
|
remove_column :venues, :photo_content_type
|
|
end
|
|
|
|
def down
|
|
add_column :venues, :photo_updated_at, :datetime
|
|
add_column :venues, :photo_file_size, :integer
|
|
add_column :venues, :photo_content_type, :string
|
|
end
|
|
end
|