supabase-action-example
supabase-action-example copied to clipboard
Add migration lint action
Squawk Report
🚒 1 violations across 1 file(s)
supabase/migrations/20220810154537_new_employee.sql
create table public.employees (
id integer primary key generated always as identity,
name text
);
🚒 Rule Violations (1)
supabase/migrations/20220810154537_new_employee.sql:1:0: warning: prefer-big-int
1 | create table public.employees (
2 | id integer primary key generated always as identity,
3 | name text
4 | );
note: Hitting the max 32 bit integer is possible and may break your application.
help: Use 64bit integer values instead to prevent hitting this limit.
⚡️ Powered by Squawk (0.19.0), a linter for PostgreSQL, focused on migrations