diff --git a/gantry/__main__.py b/gantry/__main__.py index ab66f86..99bf38c 100644 --- a/gantry/__main__.py +++ b/gantry/__main__.py @@ -27,6 +27,7 @@ async def apply_migrations(db: aiosqlite.Connection): # they are applied in the correct order # and not inadvertently added to the migrations folder ("001_initial.sql", 1), + ("003_spec_index.sql", 3), ] # apply migrations that have not been applied diff --git a/migrations/003_spec_index.sql b/migrations/003_spec_index.sql new file mode 100644 index 0000000..97482b1 --- /dev/null +++ b/migrations/003_spec_index.sql @@ -0,0 +1 @@ +CREATE INDEX complete_spec on jobs(pkg_name, pkg_variants, pkg_version, compiler_name, compiler_version, end); \ No newline at end of file