source: TODO.md@ 76b980b

main
Last change on this file since 76b980b was 8ee4553, checked in by Bati <no-reply@…>, 7 months ago

scaffold Vike app with Bati

  • Property mode set to 100644
File size: 620 bytes
Line 
1Follow the steps below to finish setting up your application.
2
3## Drizzle
4
5First, ensure that `DATABASE_URL` is configured in `.env` file, then create the database:
6
7```bash
8npm run drizzle:generate # a script that executes drizzle-kit generate.
9npm run drizzle:migrate # a script that executes drizzle-kit migrate.
10```
11
12> \[!NOTE]
13> The `drizzle-kit generate` command is used to generate SQL migration files based on your Drizzle schema.
14>
15> The `drizzle-kit migrate` command is used to apply the generated migrations to your database.
16
17Read more on [Drizzle ORM documentation](https://orm.drizzle.team/docs/overview)
18
Note: See TracBrowser for help on using the repository browser.