Skip to content

Commit ec18b1c

Browse files
committed
2 parents a99e84f + 113a128 commit ec18b1c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Connect to your database using: `psql -d my_products`
6262

6363
Execute these SQL commands to create the `categories` and `products` table in your database.
6464

65+
You can copy and paste the script below into psql or your can run the database script inside psql using `\i database.sql`
66+
6567
```sql
6668

6769
create table categories(
@@ -78,6 +80,8 @@ create table products (
7880
);
7981
```
8082

83+
> To do this on your own project create sql file containing the table create scripts that's in your projects root folder. Run the scripts using `\i <your script file here>`
84+
8185
You see which tables are in the database by using this command:
8286

8387
```

0 commit comments

Comments
 (0)