mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adds reset_column_information to add_events_per_week migration
This commit is contained in:
parent
c05b428d8c
commit
ea920b9915
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class AddEventsPerWeekToConference < ActiveRecord::Migration
|
|||
|
||||
def up
|
||||
add_column :conferences, :events_per_week, :text
|
||||
TempConference.reset_column_information
|
||||
|
||||
TempVersion.where(item_type: 'Event').each do |event_version|
|
||||
event = TempEvent.find_by_id(event_version.item_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue