mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
style fixes
This commit is contained in:
parent
9ec10adea1
commit
312c25431a
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
class DeleteEventsWithoutUser < ActiveRecord::Migration
|
||||
|
||||
class TempEvent < ActiveRecord::Base
|
||||
self.table_name = 'events'
|
||||
end
|
||||
|
|
@ -32,6 +31,6 @@ class DeleteEventsWithoutUser < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration, 'Cannot reverse migration. Events deleted cannot be re-created'
|
||||
raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration. Events deleted cannot be re-created')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue