feat: implement license platform business flows and delivery tooling
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>
This commit is contained in:
5
backend/migrations/000008_package_objects.up.sql
Normal file
5
backend/migrations/000008_package_objects.up.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user