We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b2dca5 commit dc720feCopy full SHA for dc720fe
1 file changed
README.md
@@ -62,6 +62,19 @@ Type in `\q` to exit *psql* as the *postgres* user.
62
63
Connect to your database using: `psql -d my_products`
64
65
+## Database setup on Windows
66
+
67
+If you are using windows you can create the database and user from within `psql`.
68
69
70
+```
71
+create database my_products;
72
+create role coder login password 'coder123';
73
+grant all privileges on database my_products to coder;
74
75
76
+## Create the database tables
77
78
Execute these SQL commands to create the `categories` and `products` table in your database.
79
80
You can copy and paste the script below into psql or your can run the database script inside psql using `\i database.sql`
0 commit comments