Neto
Neto
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Noah on 12/11/2024 in #questions
t3 stack and nextjs app router, chat app
you can easily update if you care
9 replies
TTCTheo's Typesafe Cult
Created by Noah on 12/11/2024 in #questions
t3 stack and nextjs app router, chat app
fresh t3 is on next 15.0.1 and react 18.3.1
9 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
if i can help
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
sure
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
yeah
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
basically "two" drizzle projects in the same repo
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
one for the master and one for the tenants
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
you will need like 2? drizzle config files
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
create the script for migrating all tenants
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
/migrations
/master
/[...]
/[...]
/[...]
/tenants
/[...]
/migrations
/master
/[...]
/[...]
/[...]
/tenants
/[...]
when creating a new tenant, run drizzle migrate on migrations/tenants for the schema
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
avoid typeorm for any reason
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
drizzle is quite laid back in terms of multi-tenancy
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
its a shit show
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
multi-tenant is a mess and people avoid for this exact reason
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
probably not the best, but it's an option
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
a solution i found was calling the cli via os commands
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
this config is via the hcl file
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
cmd := exec.Command("sh", "-c", "atlas schema apply --env newnode --file ./db/node-schema.sql --auto-approve --var ref="+_uuid.String())
56 replies
TTCTheo's Typesafe Cult
Created by Deezy on 12/9/2024 in #questions
Multi-Tenant Architecture
and calling via bash
56 replies