mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:41:59 +01:00
16 lines
385 B
SQL
16 lines
385 B
SQL
alter table `sph_index` add column `folder` int default 0;
|
|
|
|
create table if not exists `folder` (
|
|
`id` int not null auto_increment,
|
|
`parent_id` int default 0,
|
|
`name` char(64) not null unique,
|
|
primary key (`id`)
|
|
) Engine=InnoDB;
|
|
|
|
create table if not exists `notes` (
|
|
`id` bigint unsigned not null,
|
|
`note` text default null,
|
|
key `notes_idx` (`id`)
|
|
) ENGINE=InnoDB;
|
|
|