mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:02:46 +08:00
DEV: ignore the given_daily_likes table when moving timestamps on Try (#13971)
This will fix the try-reset build that failed today. Probably this going to happen again with other tables that have constraints on date columns. I'm going to modify the script to make it work without ignoring such tables. After that, the only table we're going to need to ignore will be the 2FA table. Before I fixed that, don't hesitate to tag me if the try-reset build fail again.
This commit is contained in:
parent
044de6d670
commit
b66674fec2
|
@ -79,7 +79,7 @@ def is_date?(string)
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_updater
|
def create_updater
|
||||||
ignore_tables = %w[application_requests user_second_factors user_visits]
|
ignore_tables = %w[application_requests given_daily_likes user_second_factors user_visits]
|
||||||
TimestampsUpdater.new "public", ignore_tables
|
TimestampsUpdater.new "public", ignore_tables
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user