|
1 | 1 | { |
2 | | - "id": "013accf9-070a-47cd-9b49-1318a1c8a237", |
| 2 | + "id": "5ab333f5-a980-4564-a919-3d15608505d0", |
3 | 3 | "prevId": "00000000-0000-0000-0000-000000000000", |
4 | 4 | "version": "7", |
5 | 5 | "dialect": "postgresql", |
6 | 6 | "tables": { |
7 | | - "public.organization": { |
8 | | - "name": "organization", |
| 7 | + "public.events": { |
| 8 | + "name": "events", |
9 | 9 | "schema": "", |
10 | 10 | "columns": { |
11 | 11 | "id": { |
12 | 12 | "name": "id", |
13 | | - "type": "text", |
| 13 | + "type": "integer", |
14 | 14 | "primaryKey": true, |
15 | | - "notNull": true |
16 | | - }, |
17 | | - "stripe_customer_id": { |
18 | | - "name": "stripe_customer_id", |
19 | | - "type": "text", |
20 | | - "primaryKey": false, |
21 | | - "notNull": false |
| 15 | + "notNull": true, |
| 16 | + "identity": { |
| 17 | + "type": "always", |
| 18 | + "name": "events_id_seq", |
| 19 | + "schema": "public", |
| 20 | + "increment": "1", |
| 21 | + "startWith": "1", |
| 22 | + "minValue": "1", |
| 23 | + "maxValue": "2147483647", |
| 24 | + "cache": "1", |
| 25 | + "cycle": false |
| 26 | + } |
22 | 27 | }, |
23 | | - "stripe_subscription_id": { |
24 | | - "name": "stripe_subscription_id", |
| 28 | + "type": { |
| 29 | + "name": "type", |
25 | 30 | "type": "text", |
26 | 31 | "primaryKey": false, |
27 | | - "notNull": false |
| 32 | + "notNull": true |
28 | 33 | }, |
29 | | - "stripe_subscription_price_id": { |
30 | | - "name": "stripe_subscription_price_id", |
31 | | - "type": "text", |
| 34 | + "timestamp": { |
| 35 | + "name": "timestamp", |
| 36 | + "type": "bigint", |
32 | 37 | "primaryKey": false, |
33 | | - "notNull": false |
| 38 | + "notNull": true |
34 | 39 | }, |
35 | | - "stripe_subscription_status": { |
36 | | - "name": "stripe_subscription_status", |
37 | | - "type": "text", |
| 40 | + "properties": { |
| 41 | + "name": "properties", |
| 42 | + "type": "json", |
38 | 43 | "primaryKey": false, |
39 | | - "notNull": false |
40 | | - }, |
41 | | - "stripe_subscription_current_period_end": { |
42 | | - "name": "stripe_subscription_current_period_end", |
43 | | - "type": "bigint", |
44 | | - "primaryKey": false, |
45 | | - "notNull": false |
| 44 | + "notNull": true |
46 | 45 | }, |
47 | | - "updated_at": { |
48 | | - "name": "updated_at", |
| 46 | + "created_at": { |
| 47 | + "name": "created_at", |
49 | 48 | "type": "timestamp", |
50 | 49 | "primaryKey": false, |
51 | 50 | "notNull": true, |
52 | 51 | "default": "now()" |
53 | 52 | }, |
54 | | - "created_at": { |
55 | | - "name": "created_at", |
| 53 | + "updated_at": { |
| 54 | + "name": "updated_at", |
56 | 55 | "type": "timestamp", |
57 | 56 | "primaryKey": false, |
58 | 57 | "notNull": true, |
59 | 58 | "default": "now()" |
60 | 59 | } |
61 | 60 | }, |
62 | | - "indexes": { |
63 | | - "stripe_customer_id_idx": { |
64 | | - "name": "stripe_customer_id_idx", |
65 | | - "columns": [ |
66 | | - { |
67 | | - "expression": "stripe_customer_id", |
68 | | - "isExpression": false, |
69 | | - "asc": true, |
70 | | - "nulls": "last" |
71 | | - } |
72 | | - ], |
73 | | - "isUnique": true, |
74 | | - "concurrently": false, |
75 | | - "method": "btree", |
76 | | - "with": {} |
77 | | - } |
78 | | - }, |
| 61 | + "indexes": {}, |
79 | 62 | "foreignKeys": {}, |
80 | 63 | "compositePrimaryKeys": {}, |
81 | 64 | "uniqueConstraints": {}, |
|
0 commit comments