feat(db): own a dedicated Postgres schema and ship SQL migrations with migrate and export commands
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- postgresql, sql, typescript
- Domínio
- databases
Direção de pesquisa
Start by reading the existing sequelize-cli migration chain and the schema setup around assertSchemaCurrent; the issue does not name specific files or tests. The work spans configurable schema ownership, SQL migration conversion and upgrade compatibility, migration execution and export formats, plus documentation. Done means these paths work together for existing and new deployments and the listed ORM integrations are documented.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Part of fells-code/seamless-auth-api#371.
Problem
The API's tables live in the default schema, alongside whatever the adopter's app owns. Adopters sharing a database with their app hit ORM drift detection (prisma migrate dev sees unknown tables and offers a reset; drizzle-kit needs a schemaFilter). Migrations are sequelize-cli .cjs files that only this repo's tooling can run.
Proposal
- Tables in a configurable schema (default
seamless_auth) viasearch_path, with the migrations table inside it - Plain numbered SQL as the migration source of truth, converted from the existing sequelize-cli chain, with an upgrade path for existing deployments
- Run on boot or through a
migratecommand for teams that do not run DDL at boot;assertSchemaCurrentkeeps its role -
migrations export --format prisma|drizzle|knex|flyway|rawfor organisations that review every DDL change - Docs: one-line ORM config to ignore the schema, and referencing users by ID
- Linguagem predominante
- TypeScript
- Estrelas
- 2
- Forks
- 2
- Merge médio
- 11h 40min
- PRs com merge (30d)
- 104
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fells-code/seamless-auth-api
-
easy P2 v0.23
Dificuldade 4/5 Mais de uma semana Facilidade para iniciantes 8/100
fells-code/seamless-auth-api#561 ·
Mantenedores costumam responder em até 1 dia
-
epic P1 security v0.23
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
fells-code/seamless-auth-api#558 ·
Mantenedores costumam responder em até 1 dia
-
P1 security v0.23
Dificuldade 3/5 Meio dia Facilidade para iniciantes 55/100
fells-code/seamless-auth-api#553 ·
Mantenedores costumam responder em até 1 dia
-
epic P2 v0.23
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 5/100
fells-code/seamless-auth-api#551 ·
Mantenedores costumam responder em até 1 dia
-
P2 secure v2.1
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
fells-code/seamless-auth-api#512 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fells-code/seamless-auth-api
Issues semelhantes
-
desktop v3 windows
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
esengine/DeepSeek-Reasonix#15016 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
FR: Support CJK brackets, symbols and full-width markers in footnoteHeuristics (EBPAJ support)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
readest/readest#7413 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue priority: medium size: XS
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
content triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
eliasstravik/herdr-projects#788 ·