mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-28 05:15:01 +02:00
release fixes
Change-Id: Iec29962d9694cb766eba5093c1fb64453ffe9d92 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
@@ -91,6 +91,7 @@ create table if not exists `attachment` (
|
||||
|
||||
create index `attachment_idx` on `attachment`(`piler_id`);
|
||||
create index `attachment_idx2` on `attachment`(`sig`, `size`, `ptr`);
|
||||
create index `attachment_idx3` on `attachment`(`ptr`);
|
||||
|
||||
drop view if exists `v_attachment`;
|
||||
create view `v_attachment` AS select `id` as `i`, `piler_id`, `attachment_id`, `ptr`, (select count(*) from `attachment` where `ptr`=`i`) as `refcount` from `attachment`;
|
||||
|
Reference in New Issue
Block a user