After change datatype from citext to text

This commit is contained in:
dhanabalan
2025-03-25 15:02:25 +05:30
parent 8612cc08b1
commit 70a42a6651
20 changed files with 234 additions and 87 deletions

View File

@@ -18,8 +18,8 @@ return new class extends Migration
block_id BIGINT NOT NULL,
plant_id BIGINT NOT NULL,
code CITEXT NOT NULL CHECK (LENGTH(code) >= 6),
description CITEXT NOT NULL,
code TEXT NOT NULL CHECK (LENGTH(code) >= 6),
description TEXT NOT NULL,
hourly_quantity INT NOT NULL CHECK (hourly_quantity > 0),