feat(project): add meeting cell editing
Apply project_db migration 019 to enable vertical cell merges. Other cell editing remains available before migration.
This commit is contained in:
@@ -82,6 +82,23 @@ docker compose logs -f --tail=200
|
||||
|
||||
---
|
||||
|
||||
## 주간 회의록 셀 병합 마이그레이션
|
||||
|
||||
주간 회의록 셀 병합을 배포할 때는 `project_db`의 최근 백업 위치를 확인한 뒤 마이그레이션 019를 적용한다.
|
||||
DB는 공용 `postgres-db` 컨테이너의 PostgreSQL(컨테이너 포트 5432)을 사용한다. 019는 기존 글을 바꾸지 않고
|
||||
`content_row_span` 열을 추가하며, 다시 실행할 수 있다. 미적용 시 다른 셀 편집은 가능하지만 병합은 사용할 수 없다.
|
||||
|
||||
```bash
|
||||
cd /opt/www/main
|
||||
docker compose ps
|
||||
docker exec postgres-db psql -U postgres -d project_db -c 'SELECT current_database();'
|
||||
# project_db 최근 백업 위치를 확인한 후 적용
|
||||
docker exec -i postgres-db psql -v ON_ERROR_STOP=1 -U postgres -d project_db < scripts/sql/project_db_019_meeting_cell_editing.sql
|
||||
docker exec postgres-db psql -U postgres -d project_db -c "SELECT column_name FROM information_schema.columns WHERE table_name = 'goal_meeting_items' AND column_name = 'content_row_span';"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 컨테이너 관리
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user