mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
BUGFIX: lets not rename old migrations
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
class AddHasBestOfToForumThreads < ActiveRecord::Migration
|
class AddHasBestOfToForumThreads < ActiveRecord::Migration
|
||||||
|
|
||||||
def change
|
def change
|
||||||
add_column :forum_threads, :has_summary, :boolean, default: false, null: false
|
add_column :forum_threads, :has_best_of, :boolean, default: false, null: false
|
||||||
change_column :posts, :score, :float
|
change_column :posts, :score, :float
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user