Supabase
Run Supabase locally LINK
Section titled “Run Supabase locally LINK”pnpx supabase startLocal Pusheshsupabase db push --localDelete everything create everythingsupabase db reset
supabase db reset --localGenerated Schema Dump (AUTO)
Section titled “Generated Schema Dump (AUTO)”Use Supabase CLI:
supabase db dump --local > supabase/schema.sql
or for remote:
supabase db dump --db-url <your-db-url> > supabase/schema.sql
This Dumps: tables constraints indexes policies
anonrole means Anonymous
Supabase flutter gen dart
Section titled “Supabase flutter gen dart”dart run supabase_codegen_flutter:generate_types
Yesterdays Update | Delete account | Edge function get it done -> Delte function
— NEXT WE CAN DEcide on tomrrow work |
App config -> Keep it false it would be great | OTP part 33085
CHECKLIST OF DB CHANGES
Section titled “CHECKLIST OF DB CHANGES”- Add A new migration file
- If new table make sure you add policy, select read only etc
- If media related changes add policy for it
- Push the changes to LOCAL DB by
supabase db push --local
- From Seed
- Pull the types from local
npm run gen:types:local - Add required seeded data
- Seed the local DB
npm run seed:local
- Pull the types from local
- Get the Dart Models
- If JSON override it in the
.supabase_codegen.yaml - Add the relavant override model & RUN
-
fvm dart run supabase_codegen_flutter:generate_types
- If JSON override it in the
Before you run ask for my permission for datatable related operations command runs
FOR SERVING SUPABASE FUNCTIONS
Section titled “FOR SERVING SUPABASE FUNCTIONS”supabase functions serve
FOR SUPABASE FUNCTION DEPLOY
supabase functions deploy
FOR EDGE ENV secret
Section titled “FOR EDGE ENV secret”supabase secrets set --env-file functions/.env.dev
supabase secrets set --env-file functions/.env.prod
For Worker
Section titled “For Worker”npm run deploy:prod
npm run deploy:dev
To run local console use
npx wrangler dev --env dev frim where actual file is avaialble
-> we can save the time 5 -=q2aqq2
Lock to Portrait Changes in the Me Profile
git pull upstream main
Deploy -> Fatega
— PROD p vrna subh
Shorebird
-> Persona selection should come there -> Email screen will come
New clickup -> Create a form
supabase migration repair
I will do ->
Moments, moment_clear |
Barish ho rhi hai |
- PG se hi WFH
- WFH has to be sorted
Okay we kinda need to have a JSON
Ashish Feel free to ask questions JOB is being happening in the same case has been done
Whalesync -> Email password
PUBLIC | DEV | Next API -> backend Layer | API router Mostly it does
- May be add | RLS I will one or the other thing
- BANDWIDTH
- I’ll be free in next hour cool | Need to handle it | Can you please work on it
- Currently the validations and max
- Frontend validation | NEDS
Match Details, We need to have
- Thought through | Doc - Final call after that.
- Dev Final production |Predection sint out, KaMonday | AShsish has fixed —
HOW WE WILL GO BACK