[CHORE]: Add down migrations for 002–012
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Start in server/migrations/ by reading the _up.sql files for 002–012 and the existing 001_create_users_down.sql. Add matching down files that reverse each migration using IF EXISTS; check the result by applying all up files and then all down files in reverse order on a fresh postgres:16-alpine. Done means the rollback completes successfully.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
Only 001_create_users_down.sql exists, so there's no way to roll back a schema change during development.
What to do
- Add
NNN_*_down.sqlfor 002–012 that undo the matching_up.sql(drop the tables, columns and indexes it added), usingIF EXISTS. - Check them locally: apply all up files, then all down files in reverse order, on a fresh
postgres:16-alpine.
Where to look
server/migrations/.
Good to know
Down files are for development only. Nothing runs them automatically.
- Ngôn ngữ chính
- Dart
- Star
- 9
- Fork
- 5
- Merge trung bình
- 49 phút
- Pull request đã merge (30 ngày)
- 34
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 CommandLineCoding/Elephant
-
area: mobile chore good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CommandLineCoding/Elephant#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CommandLineCoding/Elephant#245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CommandLineCoding/Elephant#183 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile difficulty: medium enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
CommandLineCoding/Elephant#249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile chore difficulty: medium testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 66/100
CommandLineCoding/Elephant#248 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CommandLineCoding/Elephant
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
livekit/client-sdk-flutter#1281 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
android bug priority: P1 qa
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
GHRik/bielik_oneclick_launcher#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SchedulerBinding.requestPerformanceMode(mode) does not forward the requested mode to the engine.Đang mở
Độ 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
-
carp demo apps enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
carp-dk/carp.sensing-flutter#670 ·
-
[BUG] IP 质量类型误判:ISP 静态段被显示为机房Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100