mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add a picture format for conference tickets
This commit is contained in:
parent
364be55412
commit
e01d849374
4 changed files with 23 additions and 1 deletions
9
db/migrate/20171130172334_rebuild_conference_pictures.rb
Normal file
9
db/migrate/20171130172334_rebuild_conference_pictures.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class RebuildConferencePictures < ActiveRecord::Migration
|
||||
def up
|
||||
Conference.all.each do |conference|
|
||||
conference.picture.recreate_versions!
|
||||
end
|
||||
end
|
||||
|
||||
def down; end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue