This commit is contained in:
2026-02-04 20:29:42 -06:00
parent e37c64fb1d
commit 515ddb24d6
18 changed files with 921 additions and 19 deletions

View File

@@ -0,0 +1,126 @@
{
"id": "919e2530-f5a0-4aab-8a61-b4a3bacad982",
"prevId": "cc319841-30d4-4928-ba5c-fe3352ba1bf8",
"version": "7",
"dialect": "postgresql",
"tables": {
"public.commentary": {
"name": "commentary",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
},
"public.matches": {
"name": "matches",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "serial",
"primaryKey": true,
"notNull": true
},
"sport": {
"name": "sport",
"type": "text",
"primaryKey": false,
"notNull": true
},
"home_team": {
"name": "home_team",
"type": "text",
"primaryKey": false,
"notNull": true
},
"away_team": {
"name": "away_team",
"type": "text",
"primaryKey": false,
"notNull": true
},
"status": {
"name": "status",
"type": "match_status",
"typeSchema": "public",
"primaryKey": false,
"notNull": true,
"default": "'scheduled'"
},
"start_time": {
"name": "start_time",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"end_time": {
"name": "end_time",
"type": "timestamp",
"primaryKey": false,
"notNull": false
},
"home_score": {
"name": "home_score",
"type": "integer",
"primaryKey": false,
"notNull": true,
"default": 0
},
"away_score": {
"name": "away_score",
"type": "integer",
"primaryKey": false,
"notNull": true,
"default": 0
},
"created_at": {
"name": "created_at",
"type": "timestamp",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {},
"policies": {},
"checkConstraints": {},
"isRLSEnabled": false
}
},
"enums": {
"public.match_status": {
"name": "match_status",
"schema": "public",
"values": [
"scheduled",
"live",
"finished"
]
}
},
"schemas": {},
"sequences": {},
"roles": {},
"policies": {},
"views": {},
"_meta": {
"columns": {},
"schemas": {},
"tables": {}
}
}