Skip to content

Conversation

asiansnoodle
Copy link
Collaborator

Why

Need Drizzle ORM set up so we can have our database set up for our application

What

Installed Drizzle using PNPM

Created files:
/drizzle.config.ts
/src/db/index.ts
/src/schema.ts

Used 'pnpm drizzle-kit push' to push changes to turso db

Satisfies

LRN-2 Setup Drizzle

commands used:
    pnpm add drizzle-orm @libsql/client
    pnpm add -D drizzle-kit
    pnpm add pnpm add @libsql/client/web
index.ts - initializes connections to db
drizzle.config.ts - contains db info and connection info
schema.ts - intial schema for set up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant