woodpecker/store/datastore/ddl/mysql/6.sql

18 lines
282 B
MySQL
Raw Normal View History

-- +migrate Up
CREATE TABLE agents (
agent_id INTEGER PRIMARY KEY AUTO_INCREMENT
,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;