Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

0001_snapshot.json

116 lines2.7 KB

1{
2 "id": "1b3a815a-1865-451b-b646-983e995ee97e",
3 "prevId": "1649b703-2b2d-413c-8185-15390a9d97e7",
4 "version": "7",
5 "dialect": "postgresql",
6 "tables": {
7 "public.config": {
8 "name": "config",
9 "schema": "",
10 "columns": {
11 "id": {
12 "name": "id",
13 "type": "serial",
14 "primaryKey": true,
15 "notNull": true
16 },
17 "key": {
18 "name": "key",
19 "type": "text",
20 "primaryKey": false,
21 "notNull": true
22 },
23 "value": {
24 "name": "value",
25 "type": "text",
26 "primaryKey": false,
27 "notNull": true
28 },
29 "created_at": {
30 "name": "created_at",
31 "type": "timestamp with time zone",
32 "primaryKey": false,
33 "notNull": true,
34 "default": "now()"
35 },
36 "updated_at": {
37 "name": "updated_at",
38 "type": "timestamp with time zone",
39 "primaryKey": false,
40 "notNull": true,
41 "default": "now()"
42 }
43 },
44 "indexes": {},
45 "foreignKeys": {},
46 "compositePrimaryKeys": {},
47 "uniqueConstraints": {
48 "config_key_unique": {
49 "name": "config_key_unique",
50 "nullsNotDistinct": false,
51 "columns": ["key"]
52 }
53 },
54 "policies": {},
55 "checkConstraints": {},
56 "isRLSEnabled": false
57 },
58 "public.todos": {
59 "name": "todos",
60 "schema": "",
61 "columns": {
62 "id": {
63 "name": "id",
64 "type": "serial",
65 "primaryKey": true,
66 "notNull": true
67 },
68 "text": {
69 "name": "text",
70 "type": "text",
71 "primaryKey": false,
72 "notNull": true
73 },
74 "completed": {
75 "name": "completed",
76 "type": "boolean",
77 "primaryKey": false,
78 "notNull": true,
79 "default": false
80 },
81 "created_at": {
82 "name": "created_at",
83 "type": "timestamp with time zone",
84 "primaryKey": false,
85 "notNull": true,
86 "default": "now()"
87 },
88 "updated_at": {
89 "name": "updated_at",
90 "type": "timestamp with time zone",
91 "primaryKey": false,
92 "notNull": true,
93 "default": "now()"
94 }
95 },
96 "indexes": {},
97 "foreignKeys": {},
98 "compositePrimaryKeys": {},
99 "uniqueConstraints": {},
100 "policies": {},
101 "checkConstraints": {},
102 "isRLSEnabled": false
103 }
104 },
105 "enums": {},
106 "schemas": {},
107 "sequences": {},
108 "roles": {},
109 "policies": {},
110 "views": {},
111 "_meta": {
112 "columns": {},
113 "schemas": {},
114 "tables": {}
115 }