Skip to content

Commit

Permalink
Change DB structure to support 3rd party mod downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadyMedic authored Sep 25, 2024
1 parent bb85613 commit 06abcc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion liquibase/website/changelog-1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ CREATE TABLE IF NOT EXISTS download (
version varchar(8) NOT NULL,
changelog text NOT NULL,
release_date date NOT NULL DEFAULT current_timestamp(),
filename varchar(31) NOT NULL COMMENT 'This is just the file name, under which the file is saved on the server. Not the name that the file will have after the download.',
download_link varchar(255) DEFAULT NULL,
filename varchar(31) DEFAULT NULL COMMENT 'This is just the file name, under which the file is saved on the server. Not the name that the file will have after the download.',
size int(11) unsigned NOT NULL COMMENT 'In bytes',
downloaded_times int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (download_id)
Expand Down

0 comments on commit 06abcc0

Please sign in to comment.