Skip to content

Commit

Permalink
use standard conformant syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 10, 2024
1 parent bc1b892 commit 9d9dc86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/kitsune-db/migrations/2023-12-16-192941_initial/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d9dc86

Please sign in to comment.