-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use different approach for marking
ar_internal_metadata
on restore
The previous attempt in e5e025a to mark the `ar_internal_metadata` environment row as non-production does not work reliably. The change here fixes the issue with a slightly more brute-force approach, but one that does not require capabilities beyond pure SQL. If the `ar_internal_metadata` table does not exist, we'll create a blank one with no rows. The following update operation will no-op.
- Loading branch information
1 parent
e5e025a
commit 2d2b8cd
Showing
2 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters