← Joburi

Lovable /supabse migration

Buget: - HOURLY / PART_TIME ⭐ 0.00 (0) United States

react-js, react-native, next.js, typescript, graphql, stripe, aws-lambda, materialui

Job: Complete a partially-finished Lovable Cloud → self-hosted Supabase migration I have a web app ("Oddity OS") built in Lovable, currently on Lovable Cloud. I'm migrating it to my own Supabase project so I own the backend. I've done most of the work myself but the migration is stuck partway and I need an experienced developer to finish it correctly and safely. Current state: My app code (React/Vite + TanStack, with Supabase backend) is pushed to a GitHub repo: Melbees/odd-ink-studio-assistant (the migration-target repo). The original is in Melbees/odd-studio-assistant. I created my own Supabase project and connected the new Lovable project to it. I copied my supabase/migrations folder (63 migration files) plus app source into the new repo and pushed it. The problem: the migrations did NOT fully apply. My Supabase is missing the retainers and retainer_applications tables (my most recent/critical tables). Supabase shows this error: relation "supabase_migrations.schema_migrations" does not exist (code 42P01). Lovable shows the migration action as incomplete. What I need you to do: Diagnose why the migration halted (the schema_migrations tracking table wasn't initialized, so migrations appear to have stopped partway). Apply ALL remaining migrations in correct timestamp order so my full schema is present — including retainers and retainer_applications and anything else after the failure point — WITHOUT breaking, duplicating, or corrupting the tables that already applied. Ensure all my database functions (I use SECURITY DEFINER Postgres functions for money/permission logic — e.g. apply_retainers_and_record_payments, create_project_retainer, current_person_id, is_staff, has_location_access), RLS policies, triggers, and storage buckets are correctly created in my Supabase. Confirm the new Lovable project is correctly connected to MY Supabase (not Lovable Cloud) and rebuilds/publishes successfully. Verify Row Level Security is enabled and enforced on all tables — this app has strict role-based access (owner/regional/manager/front-desk/artist/client) and it's critical that RLS works. Do NOT touch or migrate any data (it's all test data). Schema, functions, RLS, storage, and connection only. Security requirements (important): This app will handle client IDs and financial data. Treat all credentials as sensitive. I'll add you as a temporary collaborator and remove access when done; I'll rotate the database password after. Flag anything you find that looks insecure (exposed keys, missing RLS, functions callable by anonymous users). Acceptance / done criteria (I will verify these before closing): My Supabase Table Editor shows ALL my tables, including retainers and retainer_applications. Supabase Database → Functions shows my SECURITY DEFINER functions. No migration errors remain. The new Lovable app publishes and loads without errors. I can log in and the app connects to MY Supabase. RLS is on for all tables. A short written summary of what was wrong and what you did (so I understand it). Please confirm you've done this kind of Lovable-to-Supabase migration before, and give me a rough hour estimate before starting. lastly, if you you can give me a timeframe to do the job
Deschide pe Upwork