Skip to content

Commit

Permalink
update read me to have new database setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Sep 3, 2024
1 parent 23801ba commit 525cf97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ $$;
Currently, drizzle does not automatically create enums for you. You will have to create them manually. This [link](https://orm.drizzle.team/docs/column-types/pg#enum) should give you a good idea of how to create enums in postgres.

</details> </br>
<details>
<summary>Tag View</summary>
there is a sql query in `src/server/db/tagView.sql` that you need to run in order for tags to work properly.
</details>

Once you have added the `DATABASE_URL` to your `.env` file, and have all the necessary extensions as well as enums, you will need to run the following commands to create the tables in your database.

Expand Down

0 comments on commit 525cf97

Please sign in to comment.