You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,8 @@ Connect to your database using: `psql -d my_products`
62
62
63
63
Execute these SQL commands to create the `categories` and `products` table in your database.
64
64
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
+
65
67
```sql
66
68
67
69
createtablecategories(
@@ -78,6 +80,8 @@ create table products (
78
80
);
79
81
```
80
82
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
+
81
85
You see which tables are in the database by using this command:
0 commit comments