mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-13 02:49:37 +00:00
5fe712cca6
* Refactor: move store/ to server/store/ * fix pipeline for moved tests Co-authored-by: 6543 <6543@obermui.de>
10 lines
292 B
SQL
10 lines
292 B
SQL
-- name: create-table-build-config
|
|
|
|
CREATE TABLE IF NOT EXISTS build_config (
|
|
config_id INTEGER NOT NULL
|
|
,build_id INTEGER NOT NULL
|
|
,PRIMARY KEY (config_id, build_id)
|
|
,FOREIGN KEY (config_id) REFERENCES config (config_id)
|
|
,FOREIGN KEY (build_id) REFERENCES builds (build_id)
|
|
);
|