Encountering Error Starting Local Env

I'm running into an odd issue. I've been able to get my local supabase running following the documentation but lately, when I link my remote db to my local using --project-ref [reference id], whenever I attempt to supabase start, I get the following errors:

realtime-dev.supabase_realtime_local-db container logs:
13:46:50.453 [error] Could not create schema migrations table. This error usually happens due to the following:

  * The database does not exist
  * The "schema_migrations" table, which Ecto uses for managing
    migrations, was defined by another library
  * There is a deadlock while migrating (such as using concurrent
    indexes with a migration_lock)

To fix the first issue, run "mix ecto.create".

To address the second, you can run "mix ecto.drop" followed by
"mix ecto.create". Alternatively you may configure Ecto to use
another table and/or repository for managing migrations:

    config :realtime, Realtime.Repo,
      migration_source: "some_other_table_for_schema_migrations",
      migration_repo: AnotherRepoForSchemaMigrations


I'd really appreciate any help I can get!
Was this page helpful?