decentralised message store
1{
2 "version": "6",
3 "dialect": "sqlite",
4 "id": "86ec75bd-9ac5-453e-a223-8c0b5ee135d4",
5 "prevId": "00000000-0000-0000-0000-000000000000",
6 "tables": {
7 "messages": {
8 "name": "messages",
9 "columns": {
10 "id": {
11 "name": "id",
12 "type": "text",
13 "primaryKey": true,
14 "notNull": true,
15 "autoincrement": false
16 },
17 "channel_at_uri": {
18 "name": "channel_at_uri",
19 "type": "text",
20 "primaryKey": false,
21 "notNull": false,
22 "autoincrement": false
23 },
24 "author_did": {
25 "name": "author_did",
26 "type": "text",
27 "primaryKey": false,
28 "notNull": true,
29 "autoincrement": false
30 },
31 "content": {
32 "name": "content",
33 "type": "text",
34 "primaryKey": false,
35 "notNull": true,
36 "autoincrement": false
37 },
38 "created_at": {
39 "name": "created_at",
40 "type": "integer",
41 "primaryKey": false,
42 "notNull": true,
43 "autoincrement": false,
44 "default": "(unixepoch('now'))"
45 }
46 },
47 "indexes": {
48 "messages_channel_idx": {
49 "name": "messages_channel_idx",
50 "columns": [
51 "channel_at_uri",
52 "created_at"
53 ],
54 "isUnique": false
55 },
56 "messages_author_idx": {
57 "name": "messages_author_idx",
58 "columns": [
59 "author_did"
60 ],
61 "isUnique": false
62 }
63 },
64 "foreignKeys": {},
65 "compositePrimaryKeys": {},
66 "uniqueConstraints": {},
67 "checkConstraints": {}
68 }
69 },
70 "views": {},
71 "enums": {},
72 "_meta": {
73 "schemas": {},
74 "tables": {},
75 "columns": {}
76 },
77 "internal": {
78 "indexes": {}
79 }
80}