mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
d5d0bab19d
This commit promotes all post_deploy migrations which existed in Discourse v3.1.0 (timestamp <= 20230405121454)
15 lines
253 B
Ruby
15 lines
253 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RebakeLazyYtPosts < ActiveRecord::Migration[7.0]
|
|
def up
|
|
execute <<~SQL
|
|
UPDATE posts SET baked_version = 0
|
|
WHERE cooked LIKE '%lazyYT-container%'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
# do nothing
|
|
end
|
|
end
|