From 1e58c71a9504058b454081109c4314c5f04f163c Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Tue, 4 Jun 2024 23:05:21 +0200 Subject: [PATCH] use standard conformant syntax --- .../migrations/2023-12-16-192941_initial/up.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/kitsune-db/migrations/2023-12-16-192941_initial/up.sql b/crates/kitsune-db/migrations/2023-12-16-192941_initial/up.sql index 77bc638fd..5899ccd14 100644 --- a/crates/kitsune-db/migrations/2023-12-16-192941_initial/up.sql +++ b/crates/kitsune-db/migrations/2023-12-16-192941_initial/up.sql @@ -630,10 +630,10 @@ SELECT diesel_manage_updated_at('oauth2_refresh_tokens'); CREATE TABLE roles ( id UUID PRIMARY KEY, - name TEXT NOT NULL, - capabilities INTEGER[] NOT NULL, - created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), - updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW() + name TEXT NOT NULL, + capabilities INTEGER ARRAY NOT NULL, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), + updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW() ); -- UNIQUE constraints