Skip to content

Commit cb79b6e

Browse files
committed
use standard conformant syntax
1 parent a772be6 commit cb79b6e

File tree

1 file changed

+4
-4
lines changed
  • crates/kitsune-db/migrations/2023-12-16-192941_initial

1 file changed

+4
-4
lines changed

crates/kitsune-db/migrations/2023-12-16-192941_initial/up.sql

+4-4
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,10 @@ SELECT diesel_manage_updated_at('oauth2_refresh_tokens');
630630
CREATE TABLE roles
631631
(
632632
id UUID PRIMARY KEY,
633-
name TEXT NOT NULL,
634-
capabilities INTEGER[] NOT NULL,
635-
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
636-
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
633+
name TEXT NOT NULL,
634+
capabilities INTEGER ARRAY NOT NULL,
635+
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
636+
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
637637
);
638638

639639
-- UNIQUE constraints

0 commit comments

Comments
 (0)