feat: update codes

This commit is contained in:
2026-08-25 18:45:03 +07:00
parent 941bf322e5
commit 6d4964782f
14 changed files with 384 additions and 0 deletions
@@ -0,0 +1,7 @@
-- Flyway Migration V2: Add audit columns to courses
ALTER TABLE courses
ADD COLUMN IF NOT EXISTS created_by BIGINT,
ADD COLUMN IF NOT EXISTS updated_by BIGINT,
ADD COLUMN IF NOT EXISTS created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
ADD COLUMN IF NOT EXISTS updated_at TIMESTAMPTZ NOT NULL DEFAULT now();