mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class RemoveUncategorizedParents < ActiveRecord::Migration
|
||||
class RemoveUncategorizedParents < ActiveRecord::Migration[4.2]
|
||||
def up
|
||||
uncat = execute("SELECT value FROM site_settings WHERE name = 'uncategorized_category_id'")
|
||||
if uncat && uncat[0] && uncat[0]['value']
|
||||
|
||||
Reference in New Issue
Block a user