mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
Point to the exact point in db access
This commit is contained in:
parent
1bc4f002a9
commit
e5105d076d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ If you see `django.db.migrations.exceptions.InconsistentMigrationHistory` error,
|
||||||
[ ] 0057_other_migration
|
[ ] 0057_other_migration
|
||||||
[x] 0058_some_other_migration
|
[x] 0058_some_other_migration
|
||||||
|
|
||||||
1. Go to `database-access.md` to see the commands on how to access a certain table in the database.
|
1. Go to [database-access.md](../database-access.md#access-certain-table-in-the-database) to see the commands on how to access a certain table in the database.
|
||||||
2. In this case, we want to remove the migration "history" from the `django_migrations` table
|
2. In this case, we want to remove the migration "history" from the `django_migrations` table
|
||||||
3. Once you are in the `cgaws....` table, select the `django_migrations` table with the command `SELECT * FROM django_migrations;`
|
3. Once you are in the `cgaws....` table, select the `django_migrations` table with the command `SELECT * FROM django_migrations;`
|
||||||
4. Find the id of the "history" you want to delete. In this example, the id would be 58.
|
4. Find the id of the "history" you want to delete. In this example, the id would be 58.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue