Files
dashboard/backend/database/migrations/006_add_afkir_column.sql
T
Alberto-Audrix 32a36cceff
CI / lint-and-test (push) Canceled after 0s
first commit
2026-07-28 08:55:05 +07:00

11 lines
409 B
SQL

-- Migration: Add afkir column
-- Date: 2026-04-19
-- Description: Adds afkir (culled chickens) column to mortality_records
-- Add new column (safe: idempotent, non-destructive)
ALTER TABLE mortality_records
ADD COLUMN IF NOT EXISTS afkir INTEGER DEFAULT 0;
-- Optional: Add comment for documentation
COMMENT ON COLUMN mortality_records.afkir IS 'Daily culled chickens count (removed due to poor quality)';