-- Optional image-ACK addon v1; requires Cube v2, gold v2 and owner v1. -- Explicit coordinated maintenance only. No asset writes, release or adoption. CREATE TABLE IF NOT EXISTS port_cube_image_ack_version ( id INT UNSIGNED PRIMARY KEY, version INT UNSIGNED NOT NULL ) ENGINE=InnoDB; CREATE TABLE IF NOT EXISTS port_cube_image_acks ( request CHAR(32) CHARACTER SET ascii COLLATE ascii_bin PRIMARY KEY, body MEDIUMBLOB NOT NULL, owner_grant VARBINARY(160) NOT NULL, image MEDIUMBLOB NOT NULL ) ENGINE=InnoDB; INSERT INTO port_cube_image_ack_version(id,version) VALUES(1,1) ON DUPLICATE KEY UPDATE version=version;