piler/util/db-upgrade-0.20-vs-0.21.sql

12 lines
273 B
MySQL
Raw Normal View History

alter table `sph_index` add column `folder` int default 0;
drop table if exists `folder`;
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;