diff --git a/internal/store/database/migrate/sqlite/0020_create_table_builds.up.sql b/internal/store/database/migrate/sqlite/0020_create_table_builds.up.sql deleted file mode 100644 index 52bb5c590..000000000 --- a/internal/store/database/migrate/sqlite/0020_create_table_builds.up.sql +++ /dev/null @@ -1,48 +0,0 @@ -CREATE TABLE IF NOT EXISTS executions ( - execution_id INTEGER PRIMARY KEY AUTOINCREMENT, - execution_pipeline_id INTEGER NOT NULL, - execution_repo_id INTEGER, - execution_repo_type TEXT, - execution_repo_name TEXT, - execution_trigger TEXT, - execution_number INTEGER NOT NULL, - execution_parent INTEGER, - execution_status TEXT, - execution_error TEXT, - execution_event TEXT, - execution_action TEXT, - execution_link TEXT, - execution_timestamp INTEGER, - execution_title TEXT, - execution_message TEXT, - execution_before TEXT, - execution_after TEXT, - execution_ref TEXT, - execution_source_repo TEXT, - execution_source TEXT, - execution_target TEXT, - execution_author TEXT, - execution_author_name TEXT, - execution_author_email TEXT, - execution_author_avatar TEXT, - execution_sender TEXT, - execution_params TEXT, - execution_cron TEXT, - execution_deploy TEXT, - execution_deploy_id INTEGER, - execution_debug BOOLEAN NOT NULL DEFAULT 0, - execution_started INTEGER, - execution_finished INTEGER, - execution_created INTEGER, - execution_updated INTEGER, - execution_version INTEGER, - - -- Ensure unique combination of pipeline ID and number - UNIQUE (execution_pipeline_id, execution_number), - - -- Foreign key to pipelines table - CONSTRAINT fk_execution_pipeline_id FOREIGN KEY (execution_pipeline_id) - REFERENCES pipelines (pipeline_id) MATCH SIMPLE - ON UPDATE NO ACTION - ON DELETE CASCADE -); \ No newline at end of file diff --git a/internal/store/database/migrate/sqlite/0020_create_table_pipelines.down.sql b/internal/store/database/migrate/sqlite/0020_create_table_pipelines.down.sql deleted file mode 100644 index acbdf9bdb..000000000 --- a/internal/store/database/migrate/sqlite/0020_create_table_pipelines.down.sql +++ /dev/null @@ -1 +0,0 @@ -DROP TABLE pipelines; \ No newline at end of file diff --git a/internal/store/database/migrate/sqlite/0021_create_table_builds.down.sql b/internal/store/database/migrate/sqlite/0021_create_table_builds.down.sql deleted file mode 100644 index cc476de4a..000000000 --- a/internal/store/database/migrate/sqlite/0021_create_table_builds.down.sql +++ /dev/null @@ -1 +0,0 @@ -DROP TABLE executions; \ No newline at end of file