Skip to content

Commit

Permalink
Fix schema.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
zHd4 committed Mar 14, 2024
1 parent 1691f49 commit 54ed821
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/src/main/resources/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,4 @@ CREATE TABLE IF NOT EXISTS url_checks (
description TEXT,
url_id BIGINT NOT NULL,
created_at TIMESTAMP NOT NULL
);

ALTER TABLE urls DROP CONSTRAINT IF EXISTS pk_urls;
ALTER TABLE urls ADD CONSTRAINT pk_url PRIMARY KEY (id);

ALTER TABLE url_checks DROP CONSTRAINT IF EXISTS pk_url_checks;
ALTER TABLE url_checks ADD CONSTRAINT pk_url_checks PRIMARY KEY (id);
);

0 comments on commit 54ed821

Please sign in to comment.