Samuel Shuert | 341d4a6 | 2024-02-04 14:51:12 -0500 | [diff] [blame] | 1 | { |
| 2 | "id": "e19b4659-613e-49dc-bbd9-4a067d661972", |
| 3 | "prevId": "00000000-0000-0000-0000-000000000000", |
| 4 | "version": "5", |
| 5 | "dialect": "pg", |
| 6 | "tables": { |
| 7 | "account": { |
| 8 | "name": "account", |
| 9 | "schema": "", |
| 10 | "columns": { |
| 11 | "userId": { |
| 12 | "name": "userId", |
| 13 | "type": "text", |
| 14 | "primaryKey": false, |
| 15 | "notNull": true |
| 16 | }, |
| 17 | "type": { |
| 18 | "name": "type", |
| 19 | "type": "text", |
| 20 | "primaryKey": false, |
| 21 | "notNull": true |
| 22 | }, |
| 23 | "provider": { |
| 24 | "name": "provider", |
| 25 | "type": "text", |
| 26 | "primaryKey": false, |
| 27 | "notNull": true |
| 28 | }, |
| 29 | "providerAccountId": { |
| 30 | "name": "providerAccountId", |
| 31 | "type": "text", |
| 32 | "primaryKey": false, |
| 33 | "notNull": true |
| 34 | }, |
| 35 | "refresh_token": { |
| 36 | "name": "refresh_token", |
| 37 | "type": "text", |
| 38 | "primaryKey": false, |
| 39 | "notNull": false |
| 40 | }, |
| 41 | "access_token": { |
| 42 | "name": "access_token", |
| 43 | "type": "text", |
| 44 | "primaryKey": false, |
| 45 | "notNull": false |
| 46 | }, |
| 47 | "expires_at": { |
| 48 | "name": "expires_at", |
| 49 | "type": "integer", |
| 50 | "primaryKey": false, |
| 51 | "notNull": false |
| 52 | }, |
| 53 | "token_type": { |
| 54 | "name": "token_type", |
| 55 | "type": "text", |
| 56 | "primaryKey": false, |
| 57 | "notNull": false |
| 58 | }, |
| 59 | "scope": { |
| 60 | "name": "scope", |
| 61 | "type": "text", |
| 62 | "primaryKey": false, |
| 63 | "notNull": false |
| 64 | }, |
| 65 | "id_token": { |
| 66 | "name": "id_token", |
| 67 | "type": "text", |
| 68 | "primaryKey": false, |
| 69 | "notNull": false |
| 70 | }, |
| 71 | "session_state": { |
| 72 | "name": "session_state", |
| 73 | "type": "text", |
| 74 | "primaryKey": false, |
| 75 | "notNull": false |
| 76 | } |
| 77 | }, |
| 78 | "indexes": {}, |
| 79 | "foreignKeys": { |
| 80 | "account_userId_user_id_fk": { |
| 81 | "name": "account_userId_user_id_fk", |
| 82 | "tableFrom": "account", |
| 83 | "tableTo": "user", |
| 84 | "columnsFrom": [ |
| 85 | "userId" |
| 86 | ], |
| 87 | "columnsTo": [ |
| 88 | "id" |
| 89 | ], |
| 90 | "onDelete": "cascade", |
| 91 | "onUpdate": "no action" |
| 92 | } |
| 93 | }, |
| 94 | "compositePrimaryKeys": { |
| 95 | "account_provider_providerAccountId_pk": { |
| 96 | "name": "account_provider_providerAccountId_pk", |
| 97 | "columns": [ |
| 98 | "provider", |
| 99 | "providerAccountId" |
| 100 | ] |
| 101 | } |
| 102 | }, |
| 103 | "uniqueConstraints": {} |
| 104 | }, |
| 105 | "lots": { |
| 106 | "name": "lots", |
| 107 | "schema": "", |
| 108 | "columns": {}, |
| 109 | "indexes": {}, |
| 110 | "foreignKeys": {}, |
| 111 | "compositePrimaryKeys": {}, |
| 112 | "uniqueConstraints": {} |
| 113 | }, |
| 114 | "session": { |
| 115 | "name": "session", |
| 116 | "schema": "", |
| 117 | "columns": { |
| 118 | "sessionToken": { |
| 119 | "name": "sessionToken", |
| 120 | "type": "text", |
| 121 | "primaryKey": true, |
| 122 | "notNull": true |
| 123 | }, |
| 124 | "userId": { |
| 125 | "name": "userId", |
| 126 | "type": "text", |
| 127 | "primaryKey": false, |
| 128 | "notNull": true |
| 129 | }, |
| 130 | "expires": { |
| 131 | "name": "expires", |
| 132 | "type": "timestamp", |
| 133 | "primaryKey": false, |
| 134 | "notNull": true |
| 135 | } |
| 136 | }, |
| 137 | "indexes": {}, |
| 138 | "foreignKeys": { |
| 139 | "session_userId_user_id_fk": { |
| 140 | "name": "session_userId_user_id_fk", |
| 141 | "tableFrom": "session", |
| 142 | "tableTo": "user", |
| 143 | "columnsFrom": [ |
| 144 | "userId" |
| 145 | ], |
| 146 | "columnsTo": [ |
| 147 | "id" |
| 148 | ], |
| 149 | "onDelete": "cascade", |
| 150 | "onUpdate": "no action" |
| 151 | } |
| 152 | }, |
| 153 | "compositePrimaryKeys": {}, |
| 154 | "uniqueConstraints": {} |
| 155 | }, |
| 156 | "user": { |
| 157 | "name": "user", |
| 158 | "schema": "", |
| 159 | "columns": { |
| 160 | "id": { |
| 161 | "name": "id", |
| 162 | "type": "text", |
| 163 | "primaryKey": true, |
| 164 | "notNull": true |
| 165 | }, |
| 166 | "name": { |
| 167 | "name": "name", |
| 168 | "type": "text", |
| 169 | "primaryKey": false, |
| 170 | "notNull": false |
| 171 | }, |
| 172 | "email": { |
| 173 | "name": "email", |
| 174 | "type": "text", |
| 175 | "primaryKey": false, |
| 176 | "notNull": true |
| 177 | }, |
| 178 | "emailVerified": { |
| 179 | "name": "emailVerified", |
| 180 | "type": "timestamp", |
| 181 | "primaryKey": false, |
| 182 | "notNull": false |
| 183 | }, |
| 184 | "image": { |
| 185 | "name": "image", |
| 186 | "type": "text", |
| 187 | "primaryKey": false, |
| 188 | "notNull": false |
| 189 | } |
| 190 | }, |
| 191 | "indexes": {}, |
| 192 | "foreignKeys": {}, |
| 193 | "compositePrimaryKeys": {}, |
| 194 | "uniqueConstraints": {} |
| 195 | }, |
| 196 | "verificationToken": { |
| 197 | "name": "verificationToken", |
| 198 | "schema": "", |
| 199 | "columns": { |
| 200 | "identifier": { |
| 201 | "name": "identifier", |
| 202 | "type": "text", |
| 203 | "primaryKey": false, |
| 204 | "notNull": true |
| 205 | }, |
| 206 | "token": { |
| 207 | "name": "token", |
| 208 | "type": "text", |
| 209 | "primaryKey": false, |
| 210 | "notNull": true |
| 211 | }, |
| 212 | "expires": { |
| 213 | "name": "expires", |
| 214 | "type": "timestamp", |
| 215 | "primaryKey": false, |
| 216 | "notNull": true |
| 217 | } |
| 218 | }, |
| 219 | "indexes": {}, |
| 220 | "foreignKeys": {}, |
| 221 | "compositePrimaryKeys": { |
| 222 | "verificationToken_identifier_token_pk": { |
| 223 | "name": "verificationToken_identifier_token_pk", |
| 224 | "columns": [ |
| 225 | "identifier", |
| 226 | "token" |
| 227 | ] |
| 228 | } |
| 229 | }, |
| 230 | "uniqueConstraints": {} |
| 231 | } |
| 232 | }, |
| 233 | "enums": {}, |
| 234 | "schemas": {}, |
| 235 | "_meta": { |
| 236 | "columns": {}, |
| 237 | "schemas": {}, |
| 238 | "tables": {} |
| 239 | } |
| 240 | } |