Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reorder organizations migration #3549

Merged
merged 1 commit into from
Sep 15, 2023
Merged

reorder organizations migration #3549

merged 1 commit into from
Sep 15, 2023

Conversation

tobybellwood
Copy link
Member

Post merging the organizations migration, we discovered that the naming of the migration could result in it being run out of order. This PR renames the migration to ensure it is run in sequential order

Copy link
Member

@shreddedbacon shreddedbacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go 🚀

@tobybellwood tobybellwood merged commit 42f9242 into main Sep 15, 2023
@tobybellwood tobybellwood deleted the move_org_migration branch September 15, 2023 04:41
@tobybellwood
Copy link
Member Author

MariaDB [infrastructure]> select * from knex_migrations;
+----+--------------------------------------------------+-------+---------------------+
| id | name                                             | batch | migration_time      |
+----+--------------------------------------------------+-------+---------------------+
|  1 | 20220908065119_initial_db.js                     |     1 | 2022-11-07 03:46:00 |
|  2 | 20220908065152_v2_10_validation.js               |     1 | 2022-11-07 03:46:00 |
|  3 | 20221129221152_queuedstatus.js                   |     2 | 2022-12-16 00:05:30 |
|  4 | 20230119064648_add_admin_advanced_tasks.js       |     3 | 2023-01-31 20:55:05 |
|  5 | 20230208080000_disabled_deploytargets.js         |     4 | 2023-02-21 00:34:58 |
|  6 | 20230227080000_envvar_index.js                   |     5 | 2023-02-27 04:40:25 |
|  7 | 20230207210000_task_admin_fields.js              |     6 | 2023-02-28 05:01:02 |
|  8 | 20230202013434_remove_monitoring_urls.js         |     7 | 2023-02-28 06:22:21 |
|  9 | 20230329000000_add_project_build_image.js        |     8 | 2023-04-24 00:43:31 |
| 10 | 20230703000000_advanced_task_default_optional.js |     9 | 2023-07-03 22:54:12 |
| 11 | 20230706000000_shared_baas_bucket.js             |    10 | 2023-07-17 09:12:24 |
| 12 | 20230801000000_organizations.js                  |    11 | 2023-09-15 04:46:56 |
+----+--------------------------------------------------+-------+---------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants