Changed so that root folder is not a DB requirement and not created on the fly.
This commit is contained in:
parent
5921a08b14
commit
8ea4f0d6d5
4 changed files with 91 additions and 85 deletions
|
|
@ -35,7 +35,6 @@ INSERT INTO `Comments` (`id`, `image`, `video`, `user`, `dateCreated`, `message`
|
|||
--
|
||||
|
||||
INSERT INTO `Folder` (`id`, `owner`, `name`, `parent`, `dateCreated`, `isPrivate`) VALUES
|
||||
(1, 0, '/', NULL, '2011-01-24 21:35:34', b'0'),
|
||||
(11, 20, '{NAME}', 1, '2011-02-15 21:24:44', b'1'),
|
||||
(12, 20, 'test', 11, '2011-02-15 21:24:44', b'0'),
|
||||
(13, 6, '{NAME}', 1, '2011-03-19 23:50:30', b'0'),
|
||||
|
|
@ -1655,3 +1654,24 @@ INSERT INTO `User` (`id`, `name`, `email`, `emailVerified`, `passwordHash`, `pas
|
|||
(43, 'User 13', 'test@example.com', 0, '6e88be8bad7eae9d9e10aa061224034fed48d03fcbad968b56006784539d5214', 'salt', '91.7.239.138', '2017-08-01 23:48:15', '20a8626ffec27e2f90dc4bbaace4f995', 0, 1);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `Comments`
|
||||
--
|
||||
ALTER TABLE `Comments`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `Folder`
|
||||
--
|
||||
ALTER TABLE `Folder`
|
||||
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `Image`
|
||||
--
|
||||
ALTER TABLE `Image`
|
||||
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1713;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `User`
|
||||
--
|
||||
ALTER TABLE `User`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue