mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02:00
18 lines
265 B
SQL
18 lines
265 B
SQL
-- +migrate Up
|
|
|
|
CREATE TABLE agents (
|
|
agent_id INTEGER PRIMARY KEY AUTOINCREMENT
|
|
,agent_addr TEXT
|
|
,agent_platform TEXT
|
|
,agent_capacity INTEGER
|
|
,agent_created INTEGER
|
|
,agent_updated INTEGER
|
|
|
|
,UNIQUE(agent_addr)
|
|
);
|
|
|
|
|
|
-- +migrate Down
|
|
|
|
DROP TABLE agents;
|