After change datatype from citext to text
This commit is contained in:
@@ -13,7 +13,7 @@ return new class extends Migration
|
||||
$sql = <<<'SQL'
|
||||
CREATE TABLE companies (
|
||||
id BIGINT GENERATED always AS IDENTITY PRIMARY KEY,
|
||||
name CITEXT NOT NULL UNIQUE,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
|
||||
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
||||
updated_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
||||
|
||||
Reference in New Issue
Block a user