feat(db): own a dedicated Postgres schema and ship SQL migrations with migrate and export commands
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- postgresql, sql, typescript
- Lĩnh vực
- databases
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 2
- Fork
- 2
- Merge trung bình
- 11 giờ 40 phút
- Pull request đã merge (30 ngày)
- 104
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fells-code/seamless-auth-api
-
easy P2 v0.23
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 8/100
fells-code/seamless-auth-api#561 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
epic P1 security v0.23
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
fells-code/seamless-auth-api#558 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
P1 security v0.23
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
fells-code/seamless-auth-api#553 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
epic P2 v0.23
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
fells-code/seamless-auth-api#551 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
P2 secure v2.1
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
fells-code/seamless-auth-api#512 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fells-code/seamless-auth-api
Issue tương tự
-
desktop v3 windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
esengine/DeepSeek-Reasonix#15016 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
FR: Support CJK brackets, symbols and full-width markers in footnoteHeuristics (EBPAJ support)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
readest/readest#7413 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue priority: medium size: XS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
content triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eliasstravik/herdr-projects#788 ·