Procházet zdrojové kódy

Add some warning about ; in SQL statements (take 2)

pull/809/head
Slavi Pantaleev před 5 roky
rodič
revize
3647b23628
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      CHANGELOG.md

+ 2
- 2
CHANGELOG.md Zobrazit soubor

@@ -45,7 +45,7 @@ matrix_postgres_connection_password: YOUR_POSTGRES_PASSWORD_HERE
5. Log in to the server via SSH. The next commands will be performed there. 5. Log in to the server via SSH. The next commands will be performed there.
6. Start the Postgres database server: `systemctl start matrix-postgres` 6. Start the Postgres database server: `systemctl start matrix-postgres`
7. Open a Postgres shell: `/usr/local/bin/matrix-postgres-cli` 7. Open a Postgres shell: `/usr/local/bin/matrix-postgres-cli`
8. Execute the following query, while making sure to **change the password inside**:
8. Execute the following query, while making sure to **change the password inside** (**don't forget the ending `;`**):


```sql ```sql
CREATE ROLE matrix LOGIN SUPERUSER PASSWORD 'YOUR_POSTGRES_PASSWORD_HERE'; CREATE ROLE matrix LOGIN SUPERUSER PASSWORD 'YOUR_POSTGRES_PASSWORD_HERE';
@@ -53,7 +53,7 @@ CREATE ROLE matrix LOGIN SUPERUSER PASSWORD 'YOUR_POSTGRES_PASSWORD_HERE';


.. where `YOUR_POSTGRES_PASSWORD_HERE` is to be replaced with the password you generated during step #2. .. where `YOUR_POSTGRES_PASSWORD_HERE` is to be replaced with the password you generated during step #2.


9. Execute the following queries as you see them (no modifications necessary, so you can just **paste them all at once** and **don't forget the sneaky `;`**):
1. Execute the following queries as you see them (no modifications necessary, so you can just **paste them all at once**):


```sql ```sql
CREATE DATABASE matrix OWNER matrix; CREATE DATABASE matrix OWNER matrix;


Načítá se…
Zrušit
Uložit