Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
chore: text with checks
Browse files Browse the repository at this point in the history
  • Loading branch information
seprintour committed Oct 9, 2023
1 parent 3d15f7b commit ca1edbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions supabase/migrations/20230923153903_new_permit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ CREATE TABLE IF NOT EXISTS
created timestamptz not null,
updated timestamptz not null,
network smallserial not null,
token varchar(42) not null,
token text check (char_length(token) = 42) not null,
amount numeric not null,
nonce numeric not null,
deadline numeric not null,
beneficiary varchar(42) not null,
owner varchar(42) not null,
signature varchar(132) not null
beneficiary text check (char_length(beneficiary) = 42) not null,
owner text check (char_length(owner) = 42) not null,
signature text check (char_length(signature) = 132) not null
);

INSERT INTO
Expand Down

0 comments on commit ca1edbc

Please sign in to comment.