commit
32a36cceff
444 files changed
+67186
No files matched your search
@@ -0,0 +1,12 @@
|
||||
-- Migration: Add deplesi tracking columns
|
||||
-- Date: 2026-04-19
|
||||
-- Description: Adds panen and keterangan columns to mortality_records for comprehensive daily tracking
|
||||
|
||||
-- Add new columns (safe: idempotent, non-destructive)
|
||||
ALTER TABLE mortality_records
|
||||
ADD COLUMN IF NOT EXISTS panen INTEGER DEFAULT 0,
|
||||
ADD COLUMN IF NOT EXISTS keterangan TEXT;
|
||||
|
||||
-- Optional: Add comment for documentation
|
||||
COMMENT ON COLUMN mortality_records.panen IS 'Daily harvest count (chickens sold/removed)';
|
||||
COMMENT ON COLUMN mortality_records.keterangan IS 'Daily notes or remarks about significant events';
|
||||
Reference in new issue
Block a user