Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add migration lint action #13

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add migration lint action #13

wants to merge 3 commits into from

Conversation

sweatybridge
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Aug 20, 2022

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.

📚 More info on rules

⚡️ Powered by Squawk (0.19.0), a linter for PostgreSQL, focused on migrations

Base automatically changed from develop to main January 21, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant