1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Fix: (MySQL) key exceeds max on MariaDB

Fixes MariaDB `Specified key was too long; max key length is 767 bytes` error
This commit is contained in:
Josh Quintana 2016-10-08 14:31:56 -04:00 committed by GitHub
parent 5130919869
commit 67a88c5d13

View File

@ -2,7 +2,7 @@
CREATE TABLE agents (
agent_id INTEGER PRIMARY KEY AUTO_INCREMENT
,agent_addr VARCHAR(500)
,agent_addr VARCHAR(255)
,agent_platform VARCHAR(500)
,agent_capacity INTEGER
,agent_created INTEGER