|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | 3 | exports[`asts 1`] = ` |
| 4 | +{ |
| 5 | + "CreateStmt": { |
| 6 | + "accessMethod": undefined, |
| 7 | + "constraints": undefined, |
| 8 | + "if_not_exists": undefined, |
| 9 | + "inhRelations": undefined, |
| 10 | + "ofTypename": undefined, |
| 11 | + "oncommit": undefined, |
| 12 | + "options": undefined, |
| 13 | + "partbound": undefined, |
| 14 | + "partspec": undefined, |
| 15 | + "relation": { |
| 16 | + "RangeVar": { |
| 17 | + "alias": undefined, |
| 18 | + "catalogname": undefined, |
| 19 | + "inh": undefined, |
| 20 | + "location": undefined, |
| 21 | + "relname": "new_table", |
| 22 | + "relpersistence": undefined, |
| 23 | + "schemaname": undefined, |
| 24 | + }, |
| 25 | + }, |
| 26 | + "tableElts": [ |
| 27 | + { |
| 28 | + "ColumnDef": { |
| 29 | + "collClause": undefined, |
| 30 | + "collOid": undefined, |
| 31 | + "colname": "id", |
| 32 | + "constraints": undefined, |
| 33 | + "cooked_default": undefined, |
| 34 | + "fdwoptions": undefined, |
| 35 | + "generated": undefined, |
| 36 | + "identity": undefined, |
| 37 | + "identitySequence": undefined, |
| 38 | + "inhcount": undefined, |
| 39 | + "is_from_type": undefined, |
| 40 | + "is_local": undefined, |
| 41 | + "is_not_null": undefined, |
| 42 | + "location": undefined, |
| 43 | + "raw_default": undefined, |
| 44 | + "storage": undefined, |
| 45 | + "typeName": { |
| 46 | + "arrayBounds": undefined, |
| 47 | + "location": undefined, |
| 48 | + "names": [ |
| 49 | + { |
| 50 | + "String": { |
| 51 | + "str": "int4", |
| 52 | + }, |
| 53 | + }, |
| 54 | + ], |
| 55 | + "pct_type": undefined, |
| 56 | + "setof": undefined, |
| 57 | + "typeOid": undefined, |
| 58 | + "typemod": undefined, |
| 59 | + "typmods": undefined, |
| 60 | + }, |
| 61 | + }, |
| 62 | + }, |
| 63 | + ], |
| 64 | + "tablespacename": undefined, |
| 65 | + }, |
| 66 | +} |
| 67 | +`; |
| 68 | + |
| 69 | +exports[`asts 2`] = ` |
4 | 70 | "CREATE TABLE ( |
5 | 71 | id int4 |
6 | 72 | ) INHERITS ( )" |
|
0 commit comments