mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Add SQLite indexes for contenus page language/tag queries + WIP: Peertube orphans, dialogs, contact decoupling, context note, finality types
This commit is contained in:
@@ -386,10 +386,14 @@ CREATE INDEX IF NOT EXISTS idx_thesis_authors_author ON thesis_authors(author_id
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_thesis_authors_thesis ON thesis_authors(thesis_id);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_thesis_languages_language ON thesis_languages(language_id);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_thesis_tags_tag ON thesis_tags(tag_id);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_thesis_tags_thesis ON thesis_tags(thesis_id);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_tags_deleted_name ON tags(deleted_at, name);
|
||||
|
||||
-- ============================================================================
|
||||
-- VIEWS
|
||||
-- ============================================================================
|
||||
@@ -531,7 +535,7 @@ INSERT OR IGNORE INTO ap_programs (name, code) VALUES ('Lieux, Interdisciplinari
|
||||
INSERT OR IGNORE INTO ap_programs (name, code) VALUES ('Pratique de l''art - outils critiques, arts et contexte simultanés', 'PACS');
|
||||
|
||||
INSERT OR IGNORE INTO finality_types (name) VALUES ('Approfondie');
|
||||
INSERT OR IGNORE INTO finality_types (name) VALUES ('Didactique');
|
||||
INSERT OR IGNORE INTO finality_types (name) VALUES ('Enseignement');
|
||||
INSERT OR IGNORE INTO finality_types (name) VALUES ('Spécialisée');
|
||||
|
||||
INSERT OR IGNORE INTO languages (name) VALUES ('français');
|
||||
|
||||
Reference in New Issue
Block a user