Skip to content

Commit

Permalink
remove shadow db references (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
rphlmr committed Nov 7, 2022
1 parent 6502e6d commit 080f71b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
DATABASE_URL="postgres://postgres:{POSTGRES_PASSWORD}@db.{YOUR_INSTANCE_NAME}.supabase.co:5432/postgres"
SHADOW_DATABASE_URL="postgresql://postgres:postgres@localhost:12345/postgres"
SESSION_SECRET="super-duper-s3cret"
SUPABASE_ANON_PUBLIC="{ANON_PUBLIC}"
SUPABASE_SERVICE_ROLE="{SERVICE_ROLE}"
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Not a fan of bits of the stack? Fork it, change it, and use `npx create-remix --
```en
DATABASE_URL="postgres://postgres:{STAGING_POSTGRES_PASSWORD}@db.{STAGING_YOUR_INSTANCE_NAME}.supabase.co:5432/postgres"
SHADOW_DATABASE_URL="postgresql://postgres:postgres@localhost:12345/postgres"
SUPABASE_ANON_PUBLIC="{ANON_PUBLIC}"
SUPABASE_SERVICE_ROLE="{SERVICE_ROLE}"
SUPABASE_URL="https://{STAGING_YOUR_INSTANCE_NAME}.supabase.co"
Expand Down
5 changes: 2 additions & 3 deletions app/database/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
provider = "postgresql"
url = env("DATABASE_URL")
}

generator client {
Expand Down
3 changes: 0 additions & 3 deletions remix.init/gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ node_modules

/coverage

# Prisma shadow db
/postgres-data

# Supabase
**/supabase/.branches
**/supabase/.temp
Expand Down

0 comments on commit 080f71b

Please sign in to comment.