File
Blob: drizzle/run-do/meta/0000_snapshot.json
| 1 | { |
| 2 | "version": "6", |
| 3 | "dialect": "sqlite", |
| 4 | "id": "8827a2f4-d4be-494a-84c5-057b9c951eaa", |
| 5 | "prevId": "00000000-0000-0000-0000-000000000000", |
| 6 | "tables": { |
| 7 | "run_logs": { |
| 8 | "name": "run_logs", |
| 9 | "columns": { |
| 10 | "id": { |
| 11 | "name": "id", |
| 12 | "type": "text", |
| 13 | "primaryKey": true, |
| 14 | "notNull": true, |
| 15 | "autoincrement": false |
| 16 | }, |
| 17 | "run_id": { |
| 18 | "name": "run_id", |
| 19 | "type": "text", |
| 20 | "primaryKey": false, |
| 21 | "notNull": true, |
| 22 | "autoincrement": false |
| 23 | }, |
| 24 | "seq": { |
| 25 | "name": "seq", |
| 26 | "type": "integer", |
| 27 | "primaryKey": false, |
| 28 | "notNull": true, |
| 29 | "autoincrement": false |
| 30 | }, |
| 31 | "stream": { |
| 32 | "name": "stream", |
| 33 | "type": "text", |
| 34 | "primaryKey": false, |
| 35 | "notNull": true, |
| 36 | "autoincrement": false |
| 37 | }, |
| 38 | "chunk": { |
| 39 | "name": "chunk", |
| 40 | "type": "text", |
| 41 | "primaryKey": false, |
| 42 | "notNull": true, |
| 43 | "autoincrement": false |
| 44 | }, |
| 45 | "created_at": { |
| 46 | "name": "created_at", |
| 47 | "type": "integer", |
| 48 | "primaryKey": false, |
| 49 | "notNull": true, |
| 50 | "autoincrement": false |
| 51 | } |
| 52 | }, |
| 53 | "indexes": { |
| 54 | "idx_run_logs_run_seq": { |
| 55 | "name": "idx_run_logs_run_seq", |
| 56 | "columns": [ |
| 57 | "run_id", |
| 58 | "seq" |
| 59 | ], |
| 60 | "isUnique": true |
| 61 | }, |
| 62 | "idx_run_logs_run_created_at": { |
| 63 | "name": "idx_run_logs_run_created_at", |
| 64 | "columns": [ |
| 65 | "run_id", |
| 66 | "created_at" |
| 67 | ], |
| 68 | "isUnique": false |
| 69 | } |
| 70 | }, |
| 71 | "foreignKeys": {}, |
| 72 | "compositePrimaryKeys": {}, |
| 73 | "uniqueConstraints": {}, |
| 74 | "checkConstraints": {} |
| 75 | }, |
| 76 | "run_meta": { |
| 77 | "name": "run_meta", |
| 78 | "columns": { |
| 79 | "id": { |
| 80 | "name": "id", |
| 81 | "type": "text", |
| 82 | "primaryKey": true, |
| 83 | "notNull": true, |
| 84 | "autoincrement": false |
| 85 | }, |
| 86 | "project_id": { |
| 87 | "name": "project_id", |
| 88 | "type": "text", |
| 89 | "primaryKey": false, |
| 90 | "notNull": true, |
| 91 | "autoincrement": false |
| 92 | }, |
| 93 | "status": { |
| 94 | "name": "status", |
| 95 | "type": "text", |
| 96 | "primaryKey": false, |
| 97 | "notNull": true, |
| 98 | "autoincrement": false |
| 99 | }, |
| 100 | "trigger_type": { |
| 101 | "name": "trigger_type", |
| 102 | "type": "text", |
| 103 | "primaryKey": false, |
| 104 | "notNull": true, |
| 105 | "autoincrement": false |
| 106 | }, |
| 107 | "branch": { |
| 108 | "name": "branch", |
| 109 | "type": "text", |
| 110 | "primaryKey": false, |
| 111 | "notNull": true, |
| 112 | "autoincrement": false |
| 113 | }, |
| 114 | "commit_sha": { |
| 115 | "name": "commit_sha", |
| 116 | "type": "text", |
| 117 | "primaryKey": false, |
| 118 | "notNull": false, |
| 119 | "autoincrement": false |
| 120 | }, |
| 121 | "current_step": { |
| 122 | "name": "current_step", |
| 123 | "type": "integer", |
| 124 | "primaryKey": false, |
| 125 | "notNull": false, |
| 126 | "autoincrement": false |
| 127 | }, |
| 128 | "started_at": { |
| 129 | "name": "started_at", |
| 130 | "type": "integer", |
| 131 | "primaryKey": false, |
| 132 | "notNull": false, |
| 133 | "autoincrement": false |
| 134 | }, |
| 135 | "finished_at": { |
| 136 | "name": "finished_at", |
| 137 | "type": "integer", |
| 138 | "primaryKey": false, |
| 139 | "notNull": false, |
| 140 | "autoincrement": false |
| 141 | }, |
| 142 | "exit_code": { |
| 143 | "name": "exit_code", |
| 144 | "type": "integer", |
| 145 | "primaryKey": false, |
| 146 | "notNull": false, |
| 147 | "autoincrement": false |
| 148 | }, |
| 149 | "error_message": { |
| 150 | "name": "error_message", |
| 151 | "type": "text", |
| 152 | "primaryKey": false, |
| 153 | "notNull": false, |
| 154 | "autoincrement": false |
| 155 | } |
| 156 | }, |
| 157 | "indexes": { |
| 158 | "idx_run_meta_project_started_at": { |
| 159 | "name": "idx_run_meta_project_started_at", |
| 160 | "columns": [ |
| 161 | "project_id", |
| 162 | "started_at" |
| 163 | ], |
| 164 | "isUnique": false |
| 165 | } |
| 166 | }, |
| 167 | "foreignKeys": {}, |
| 168 | "compositePrimaryKeys": {}, |
| 169 | "uniqueConstraints": {}, |
| 170 | "checkConstraints": {} |
| 171 | }, |
| 172 | "run_steps": { |
| 173 | "name": "run_steps", |
| 174 | "columns": { |
| 175 | "id": { |
| 176 | "name": "id", |
| 177 | "type": "text", |
| 178 | "primaryKey": true, |
| 179 | "notNull": true, |
| 180 | "autoincrement": false |
| 181 | }, |
| 182 | "run_id": { |
| 183 | "name": "run_id", |
| 184 | "type": "text", |
| 185 | "primaryKey": false, |
| 186 | "notNull": true, |
| 187 | "autoincrement": false |
| 188 | }, |
| 189 | "position": { |
| 190 | "name": "position", |
| 191 | "type": "integer", |
| 192 | "primaryKey": false, |
| 193 | "notNull": true, |
| 194 | "autoincrement": false |
| 195 | }, |
| 196 | "name": { |
| 197 | "name": "name", |
| 198 | "type": "text", |
| 199 | "primaryKey": false, |
| 200 | "notNull": true, |
| 201 | "autoincrement": false |
| 202 | }, |
| 203 | "command": { |
| 204 | "name": "command", |
| 205 | "type": "text", |
| 206 | "primaryKey": false, |
| 207 | "notNull": true, |
| 208 | "autoincrement": false |
| 209 | }, |
| 210 | "status": { |
| 211 | "name": "status", |
| 212 | "type": "text", |
| 213 | "primaryKey": false, |
| 214 | "notNull": true, |
| 215 | "autoincrement": false |
| 216 | }, |
| 217 | "started_at": { |
| 218 | "name": "started_at", |
| 219 | "type": "integer", |
| 220 | "primaryKey": false, |
| 221 | "notNull": false, |
| 222 | "autoincrement": false |
| 223 | }, |
| 224 | "finished_at": { |
| 225 | "name": "finished_at", |
| 226 | "type": "integer", |
| 227 | "primaryKey": false, |
| 228 | "notNull": false, |
| 229 | "autoincrement": false |
| 230 | }, |
| 231 | "exit_code": { |
| 232 | "name": "exit_code", |
| 233 | "type": "integer", |
| 234 | "primaryKey": false, |
| 235 | "notNull": false, |
| 236 | "autoincrement": false |
| 237 | } |
| 238 | }, |
| 239 | "indexes": { |
| 240 | "idx_run_steps_run_position": { |
| 241 | "name": "idx_run_steps_run_position", |
| 242 | "columns": [ |
| 243 | "run_id", |
| 244 | "position" |
| 245 | ], |
| 246 | "isUnique": true |
| 247 | } |
| 248 | }, |
| 249 | "foreignKeys": {}, |
| 250 | "compositePrimaryKeys": {}, |
| 251 | "uniqueConstraints": {}, |
| 252 | "checkConstraints": {} |
| 253 | } |
| 254 | }, |
| 255 | "views": {}, |
| 256 | "enums": {}, |
| 257 | "_meta": { |
| 258 | "schemas": {}, |
| 259 | "tables": {}, |
| 260 | "columns": {} |
| 261 | }, |
| 262 | "internal": { |
| 263 | "indexes": {} |
| 264 | } |
| 265 | } |