1{
2 "version": "6",
3 "dialect": "mysql",
4 "id": "34f6e5bd-9164-4ff3-b298-bf82949627f3",
5 "prevIds": ["00000000-0000-0000-0000-000000000000"],
6 "ddl": [
7 {
8 "name": "posts",
9 "entityType": "tables"
10 },
11 {
12 "name": "users",
13 "entityType": "tables"
14 },
15 {
16 "type": "int",
17 "notNull": true,
18 "autoIncrement": true,
19 "default": null,
20 "onUpdateNow": false,
21 "onUpdateNowFsp": null,
22 "charSet": null,
23 "collation": null,
24 "generated": null,
25 "name": "id",
26 "entityType": "columns",
27 "table": "posts"
28 },
29 {
30 "type": "int",
31 "notNull": true,
32 "autoIncrement": false,
33 "default": null,
34 "onUpdateNow": false,
35 "onUpdateNowFsp": null,
36 "charSet": null,
37 "collation": null,
38 "generated": null,
39 "name": "user_id",
40 "entityType": "columns",
41 "table": "posts"
42 },
43 {
44 "type": "varchar(255)",
45 "notNull": true,
46 "autoIncrement": false,
47 "default": null,
48 "onUpdateNow": false,
49 "onUpdateNowFsp": null,
50 "charSet": null,
51 "collation": null,
52 "generated": null,
53 "name": "title",
54 "entityType": "columns",
55 "table": "posts"
56 },
57 {
58 "type": "varchar(4096)",
59 "notNull": true,
60 "autoIncrement": false,
61 "default": null,
62 "onUpdateNow": false,
63 "onUpdateNowFsp": null,
64 "charSet": null,
65 "collation": null,
66 "generated": null,
67 "name": "body",
68 "entityType": "columns",
69 "table": "posts"
70 },
71 {
72 "type": "timestamp",
73 "notNull": true,
74 "autoIncrement": false,
75 "default": "(now())",
76 "onUpdateNow": false,
77 "onUpdateNowFsp": null,
78 "charSet": null,
79 "collation": null,
80 "generated": null,
81 "name": "created_at",
82 "entityType": "columns",
83 "table": "posts"
84 },
85 {
86 "type": "int",
87 "notNull": true,
88 "autoIncrement": true,
89 "default": null,
90 "onUpdateNow": false,
91 "onUpdateNowFsp": null,
92 "charSet": null,
93 "collation": null,
94 "generated": null,
95 "name": "id",
96 "entityType": "columns",
97 "table": "users"
98 },
99 {
100 "type": "varchar(255)",
101 "notNull": true,
102 "autoIncrement": false,
103 "default": null,
104 "onUpdateNow": false,
105 "onUpdateNowFsp": null,
106 "charSet": null,
107 "collation": null,
108 "generated": null,
109 "name": "email",
110 "entityType": "columns",
111 "table": "users"
112 },
113 {
114 "type": "varchar(255)",
115 "notNull": true,
116 "autoIncrement": false,
117 "default": null,
118 "onUpdateNow": false,
119 "onUpdateNowFsp": null,
120 "charSet": null,
121 "collation": null,
122 "generated": null,
123 "name": "name",
124 "entityType": "columns",
125 "table": "users"
126 },
127 {
128 "type": "timestamp",
129 "notNull": true,
130 "autoIncrement": false,
131 "default": "(now())",
132 "onUpdateNow": false,
133 "onUpdateNowFsp": null,
134 "charSet": null,
135 "collation": null,
136 "generated": null,
137 "name": "created_at",
138 "entityType": "columns",
139 "table": "users"
140 },
141 {
142 "columns": ["id"],
143 "name": "PRIMARY",
144 "table": "posts",
145 "entityType": "pks"
146 },
147 {
148 "columns": ["id"],
149 "name": "PRIMARY",
150 "table": "users",
151 "entityType": "pks"
152 },
153 {
154 "columns": [
155 {
156 "value": "email",
157 "isExpression": false
158 }
159 ],
160 "isUnique": true,
161 "using": null,
162 "algorithm": null,
163 "lock": null,
164 "nameExplicit": false,
165 "name": "email_unique",
166 "table": "users",
167 "entityType": "indexes"
168 }
169 ],
170 "renames": []
171}