Add a picture format for conference tickets

This commit is contained in:
James Mason 2017-11-30 10:37:20 -08:00
parent 364be55412
commit e01d849374
4 changed files with 23 additions and 1 deletions

View 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

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20171118113113) do
ActiveRecord::Schema.define(version: 20171130172334) do
create_table "ahoy_events", force: :cascade do |t|
t.integer "visit_id"