Fixed test data
This commit is contained in:
parent
121e290d74
commit
5921a08b14
3 changed files with 1572 additions and 1572 deletions
|
|
@ -26,9 +26,9 @@ CREATE TABLE `Comments` (
|
||||||
CREATE TABLE `Folder` (
|
CREATE TABLE `Folder` (
|
||||||
`id` int(10) UNSIGNED NOT NULL,
|
`id` int(10) UNSIGNED NOT NULL,
|
||||||
`owner` int(10) UNSIGNED DEFAULT NULL,
|
`owner` int(10) UNSIGNED DEFAULT NULL,
|
||||||
`path` text,
|
|
||||||
`parent` int(10) UNSIGNED DEFAULT NULL,
|
`parent` int(10) UNSIGNED DEFAULT NULL,
|
||||||
`date` datetime NOT NULL,
|
`name` text,
|
||||||
|
`dateCreated` datetime NOT NULL,
|
||||||
`isPrivate` bit(1) DEFAULT b'0'
|
`isPrivate` bit(1) DEFAULT b'0'
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
@ -91,7 +91,7 @@ CREATE TABLE `Video` (
|
||||||
`owner` int(10) UNSIGNED NOT NULL,
|
`owner` int(10) UNSIGNED NOT NULL,
|
||||||
`title` varchar(55) DEFAULT NULL,
|
`title` varchar(55) DEFAULT NULL,
|
||||||
`description` text,
|
`description` text,
|
||||||
`dateUploaded` datetime DEFAULT NULL
|
`dateUploaded` datetime DEFAULT NULL,
|
||||||
`transcoded` tinyint(1) NOT NULL DEFAULT '0',
|
`transcoded` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`length` int(10) UNSIGNED NOT NULL DEFAULT '0'
|
`length` int(10) UNSIGNED NOT NULL DEFAULT '0'
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
|
||||||
3136
db_test_data.sql
3136
db_test_data.sql
File diff suppressed because it is too large
Load diff
|
|
@ -17,9 +17,9 @@ import zutil.log.LogUtil;
|
||||||
public class Folder extends DBBean {
|
public class Folder extends DBBean {
|
||||||
private static final Logger logger = LogUtil.getLogger();
|
private static final Logger logger = LogUtil.getLogger();
|
||||||
|
|
||||||
private String name;
|
|
||||||
private User owner;
|
private User owner;
|
||||||
private Folder parent;
|
private Folder parent;
|
||||||
|
private String name;
|
||||||
private Timestamp dateCreated;
|
private Timestamp dateCreated;
|
||||||
private boolean isPrivate;
|
private boolean isPrivate;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue