Fixed test data

This commit is contained in:
Ziver Koc 2018-08-13 20:35:34 +02:00
parent 121e290d74
commit 5921a08b14
3 changed files with 1572 additions and 1572 deletions

View file

@ -26,9 +26,9 @@ CREATE TABLE `Comments` (
CREATE TABLE `Folder` (
`id` int(10) UNSIGNED NOT NULL,
`owner` int(10) UNSIGNED DEFAULT NULL,
`path` text,
`parent` int(10) UNSIGNED DEFAULT NULL,
`date` datetime NOT NULL,
`name` text,
`dateCreated` datetime NOT NULL,
`isPrivate` bit(1) DEFAULT b'0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
@ -91,7 +91,7 @@ CREATE TABLE `Video` (
`owner` int(10) UNSIGNED NOT NULL,
`title` varchar(55) DEFAULT NULL,
`description` text,
`dateUploaded` datetime DEFAULT NULL
`dateUploaded` datetime DEFAULT NULL,
`transcoded` tinyint(1) NOT NULL DEFAULT '0',
`length` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

File diff suppressed because it is too large Load diff

View file

@ -17,9 +17,9 @@ import zutil.log.LogUtil;
public class Folder extends DBBean {
private static final Logger logger = LogUtil.getLogger();
private String name;
private User owner;
private Folder parent;
private String name;
private Timestamp dateCreated;
private boolean isPrivate;