mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 02:06:03 +02:00
Fix table name and add in semicolon for statement
This commit is contained in:
parent
c0b95f22f9
commit
1bc4f002a9
2 changed files with 3 additions and 3 deletions
|
@ -58,10 +58,10 @@ cf ssh getgov-ENVIRONMENT
|
|||
|
||||
## Access certain table in the database
|
||||
1. `cf connect-to-service getgov-ENVIRONMENT getgov-ENVIRONMENT-database` gets you into whichever environments database you'd like
|
||||
2. `\c [table name here that starts cgaws];` connects to the [cgaws...etc] table
|
||||
2. `\c [table name here that starts cgaws...etc];` connects to the [cgaws...etc] table
|
||||
3. `\dt` retrieves information about that table and displays it
|
||||
4. Make sure the table you are looking for exists. For this example, we are looking for `django_migrations`
|
||||
5. Run `SELECT * FROM django_migrations` to see everything that's in it!
|
||||
5. Run `SELECT * FROM django_migrations;` to see everything that's in it!
|
||||
|
||||
## Dropping and re-creating the database
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue