Fix #3480: NoMethodError error when adding artist tag to post.

This commit is contained in:
evazion
2017-12-30 16:07:52 -06:00
parent c3aff42458
commit 89b523bdae
3 changed files with 30 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
class ChangeTimestampsToNonNullOnTags < ActiveRecord::Migration
def change
Post.without_timeout do
change_column_null :tags, :created_at, false
change_column_null :tags, :updated_at, false
end
end
end