After change datatype from citext to text
This commit is contained in:
@@ -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),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user