Rename type column to category to avoid conflict with rails
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RenameEventsTypeToCategory < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :events, :type, :category
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user