mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-04 23:56:30 +00:00
18 lines
266 B
MySQL
18 lines
266 B
MySQL
|
-- +migrate Up
|
||
|
|
||
|
CREATE TABLE agents (
|
||
|
agent_id SERIAL PRIMARY KEY
|
||
|
,agent_addr VARCHAR(500)
|
||
|
,agent_platform VARCHAR(500)
|
||
|
,agent_capacity INTEGER
|
||
|
,agent_created INTEGER
|
||
|
,agent_updated INTEGER
|
||
|
|
||
|
,UNIQUE(agent_addr)
|
||
|
);
|
||
|
|
||
|
|
||
|
-- +migrate Down
|
||
|
|
||
|
DROP TABLE agents;
|