Add admin and customer interfaces, orders, signed activation and leases, protected package delivery, keyring verification, migrations, security controls, tests and deployment documentation. Co-Authored-By: Craft Agent <agents-noreply@craft.do>
6 lines
278 B
SQL
6 lines
278 B
SQL
CREATE TABLE package_objects (
|
|
sha256 CHAR(64) CHARACTER SET ascii COLLATE ascii_bin NOT NULL PRIMARY KEY,
|
|
size_bytes BIGINT UNSIGNED NOT NULL
|
|
) ENGINE=InnoDB;
|
|
INSERT INTO package_objects(sha256,size_bytes) SELECT sha256,MAX(size_bytes) FROM product_releases GROUP BY sha256;
|