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

fix: lint migration github action failed for pull request from contributor #4095

Merged
merged 9 commits into from
Jun 21, 2024

Conversation

sywhb
Copy link
Contributor

@sywhb sywhb commented Jun 21, 2024

No description provided.

@sywhb sywhb requested review from satindar and jacksonh as code owners June 21, 2024 09:42
Copy link

vercel bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
omnivore-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2024 10:18am
omnivore-prod ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2024 10:18am

@omnivore-app omnivore-app deleted a comment from github-actions bot Jun 21, 2024
Copy link

Squawk Report

✅ 0 violations across 1 file(s)


packages/db/migrations/0183.do.test.sql

-- Type: DO
-- Name: test
-- Description: test

BEGIN;

CREATE TABLE omnivore.test (
    id UUID PRIMARY KEY DEFAULT uuid_generate_v1mc(),
    name TEXT NOT NULL,
    created_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP
);

CREATE INDEX test_name_idx ON omnivore.test (name);

COMMIT;

✅ Rule Violations (0)

No violations found.


📚 More info on rules

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

@sywhb sywhb merged commit fc3f389 into main Jun 21, 2024
6 checks passed
@sywhb sywhb deleted the fix/lint-migration-github-action branch June 21, 2024 10:33
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.

2 participants