init: add contract definitions and database schema with migrations skeleton

This commit is contained in:
2026-04-04 22:42:16 +03:00
parent 1681a694d3
commit 879418b5a9
14 changed files with 251 additions and 8 deletions

5
db/schema.sql Normal file
View File

@@ -0,0 +1,5 @@
CREATE TABLE schema_version (
version INT PRIMARY KEY,
applied_at TIMESTAMP NOT NULL,
checksum VARCHAR(64) NOT NULL
);