mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
Remove the old database schema
Signed-off-by: Petr Šabata <contyk@redhat.com>
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
CREATE TABLE IF NOT EXISTS modules (
|
||||
id INTEGER PRIMARY KEY,
|
||||
name TEXT NOT NULL, -- foo-1.23-4, module NVR
|
||||
state TEXT NOT NULL -- init, building, done, failed, locked
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS builds (
|
||||
id INTEGER PRIMARY KEY,
|
||||
module_id INTEGER NOT NULL,
|
||||
package TEXT NOT NULL, -- bar-42-1, SRPM NVR
|
||||
type TEXT NOT NULL, -- rpm
|
||||
task INTEGER NOT NULL, -- koji task id
|
||||
state TEXT NOT NULL, -- koji build states - open, closed, failed
|
||||
FOREIGN KEY(module_id) REFERENCES modules(id)
|
||||
);
|
||||
Reference in New Issue
Block a user