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

@@ -17,8 +17,8 @@ return new class extends Migration
code INT NOT NULL CHECK (code >= 1000) UNIQUE,
company_id BIGINT NOT NULL,
name CITEXT NOT NULL UNIQUE, -- CITEXT use extension
address CITEXT NOT NULL,
name TEXT NOT NULL UNIQUE, -- CITEXT use extension
address TEXT NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP NOT NULL DEFAULT NOW(),