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
Step 1: npx create-expo-app --template blank-typescript right now it says npx **create expo-app** --template blank-typescript - is missing between create expo
Step 4 - Create a table: .db/schema.ts it currently says src/db/schema.ts. src/db is normal practice, it won't work with the rest of the code
Step 4c: Forgot to add this installation npm i babel-plugin-inline-import
Step 6: include npx expo customize metro.config.js
Step 7: include npx expo customize babel.config.js
Step 8: Needs a better description. It didn't mean anything to me as an intro.
npx drizzle-kit generate generates migrations by reading drizzle.config.ts and making the 1) ./drizzle folder, 2) migration.js within the folder, and 3) SQL migration file.
Step 9: Needs a better description too. Something like: Update App.tsx with the following. If successful you will see John's email.
Is Step 4 - Connect Drizzle ORM to the database and Step 9 - Apply migrations and query your db redundant?
Step 10: npx expo start
Re-number the Steps. There are multiple Step 4 's
Better to front all the commands first?
npx expo install expo-sqlite
npm i drizzle-orm
npm i -D drizzle-kit
npm i babel-plugin-inline-import
npx expo customize metro.config.js
npx expo customize babel.config.js
Enhancement hasn't been filed before.
Describe the enhancement you want to request
For the following: https://orm.drizzle.team/docs/get-started/expo-new
The following are missing:
Step 1:
npx create-expo-app --template blank-typescript
right now it saysnpx **create expo-app** --template blank-typescript
-
is missing betweencreate expo
Step 4 - Create a table:
.db/schema.ts
it currently sayssrc/db/schema.ts
.src/db
is normal practice, it won't work with the rest of the codeStep 4c: Forgot to add this installation
npm i babel-plugin-inline-import
Step 6: include
npx expo customize metro.config.js
Step 7: include
npx expo customize babel.config.js
Step 8: Needs a better description. It didn't mean anything to me as an intro.
npx drizzle-kit generate
generates migrations by reading drizzle.config.ts and making the 1) ./drizzle folder, 2) migration.js within the folder, and 3) SQL migration file.Step 9: Needs a better description too. Something like:
Update App.tsx with the following. If successful you will see John's email.
Is
Step 4 - Connect Drizzle ORM to the database
andStep 9 - Apply migrations and query your db
redundant?Step 10:
npx expo start
Re-number the Steps. There are multiple
Step 4
'sBetter to front all the commands first?
Please see #3112
I made a repo to help explain things, though I'm not sure if I used Drizzle correctly. Use it however way you will. Thanks.
The text was updated successfully, but these errors were encountered: