Skip to content

Commit

Permalink
schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtiaowang committed Apr 24, 2020
1 parent b37e4c2 commit a2c99fb
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions SQL/0000-00-00-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2169,19 +2169,6 @@ CREATE TABLE `publication_users_edit_perm_rel` (
CONSTRAINT `FK_publication_users_edit_perm_rel_UserID` FOREIGN KEY (`UserID`) REFERENCES `users` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET='utf8';

CREATE TABLE `issues_attachments` (
`ID` int NOT NULL AUTO_INCREMENT,
`issueID` int(11) NOT NULL,
`file_hash` varchar(64) NOT NULL,
`date_added` timestamp NOT NULL DEFAULT current_timestamp(),
`file_name` varchar(255) NOT NULL DEFAULT '',
`deleted` tinyint(1) NOT NULL DEFAULT 0,
`user` varchar(255) NOT NULL DEFAULT '',
`description` text DEFAULT NULL,
`file_size` int(20) DEFAULT NULL,
`mime_type` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`ID`)
) DEFAULT CHARSET=utf8mb4;
CREATE TABLE `appointment_type` (
`AppointmentTypeID` int(10) UNSIGNED NOT NULL,
`Name` varchar(32) NOT NULL,
Expand All @@ -2206,3 +2193,4 @@ CREATE TABLE `appointment` (
CONSTRAINT `appointment_belongsToSession` FOREIGN KEY (`SessionID`) REFERENCES `session` (`ID`),
CONSTRAINT `appointment_hasAppointmentType` FOREIGN KEY (`AppointmentTypeID`) REFERENCES `appointment_type` (`AppointmentTypeID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

0 comments on commit a2c99fb

Please sign in to comment.