pastebin

Paste Search Dynamic
Recent pastes
elfinder file
  1. drop table if exists `elfinder_file`;
  2. create table if not exists `elfinder_file` (
  3.   `id`        int(7) unsigned not null auto_increment,
  4.   `parent_id` int(7) unsigned not null,
  5.   `name`      varchar(256) not null,
  6.   `content`   longblob not null,
  7.   `size`      int(10) unsigned not null default '0',
  8.   `mtime`     int(10) unsigned not null default '0',
  9.   `mime`      varchar(256) not null default 'unknown',
  10.   `read`      enum('1', '0') not null default '1',
  11.   `write`     enum('1', '0') not null default '1',
  12.   `locked`    enum('1', '0') not null default '0',
  13.   `hidden`    enum('1', '0') not null default '0',
  14.   `width`     int(5) not null default '0',
  15.   `height`    int(5) not null default '0',
  16.   primary key (`id`),
  17.   unique key  `parent_name` (`parent_id`, `name`),
  18.   key         `parent_id`   (`parent_id`)
  19. ) ENGINE=MyISAM default CHARSET=utf8 COLLATE=utf8_general_ci;
  20.  
  21. insert into `elfinder_file`
  22. (`id`, `parent_id`, `name`,     `content`, `size`, `mtime`, `mime`,      `read`, `write`, `locked`, `hidden`, `width`, `height`) values
  23. ('1',  '0',         'DATABASE', '',        '0',    '0',     'directory', '1',    '1',     '0',      '0',      '0',     '0');
Parsed in 0.014 seconds