Skip to content

Commit

Permalink
Changes to SQL schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwilshire committed Nov 13, 2024
1 parent 9045548 commit d21bc5e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CREATE TABLE tm_text_unit_to_branch(
id bigint AUTO_INCREMENT PRIMARY KEY,
tm_text_unit_id bigint NOT NULL,
branch_id bigint NOT NULL
id BIGINT AUTO_INCREMENT PRIMARY KEY,
tm_text_unit_id BIGINT NOT NULL,
branch_id BIGINT NOT NULL
);

ALTER TABLE tm_text_unit_to_branch
Expand All @@ -13,9 +13,9 @@ ADD CONSTRAINT FK__TM_TEXT_UNIT_TO_BRANCH__BRANCH_ID FOREIGN KEY (branch_id) REF
create index I__TEXT_UNIT_TO_BRANCH__TEXT_UNIT_ID on tm_text_unit_to_branch (tm_text_unit_id);

CREATE TABLE branch_source(
id bigint AUTO_INCREMENT PRIMARY KEY,
branch_id bigint NOT NULL,
url VARCHAR(300) NOT NULL
id BIGINT AUTO_INCREMENT PRIMARY KEY,
branch_id BIGINT NOT NULL,
url VARCHAR(255) NOT NULL
);

ALTER TABLE branch_source
Expand Down

0 comments on commit d21bc5e

Please sign in to comment.