File indexing completed on 2024-12-22 05:35:34

0001 DROP TABLE IF EXISTS `elfinder_file`;
0002 CREATE TABLE IF NOT EXISTS `elfinder_file` (
0003   `id`        int(7) unsigned NOT NULL auto_increment,
0004   `parent_id` int(7) unsigned NOT NULL,
0005   `name`      varchar(256) NOT NULL,
0006   `content`   longblob NOT NULL,
0007   `size`      int(10) unsigned NOT NULL default '0',
0008   `mtime`     int(10) unsigned NOT NULL,
0009   `mime`      varchar(256) NOT NULL default 'unknown',
0010   `read`      enum('1', '0') NOT NULL default '1',
0011   `write`     enum('1', '0') NOT NULL default '1',
0012   `locked`    enum('1', '0') NOT NULL default '0',
0013   `hidden`    enum('1', '0') NOT NULL default '0',
0014   `width`     int(5) NOT NULL,
0015   `height`    int(5) NOT NULL,
0016   PRIMARY KEY (`id`),
0017   UNIQUE KEY  `parent_name` (`parent_id`, `name`),
0018   KEY         `parent_id`   (`parent_id`)
0019 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
0020 
0021 INSERT INTO `elfinder_file`
0022 (`id`, `parent_id`, `name`,     `content`, `size`, `mtime`, `mime`,      `read`, `write`, `locked`, `hidden`, `width`, `height`) VALUES 
0023 ('1',  '0',         'DATABASE', '',        '0',    '0',     'directory', '1',    '1',     '0',      '0',      '0',     '0');