File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ type TableDefinition struct {
2020 Multiplex string
2121 PostResourceResolver string
2222 PreResourceResolver string
23- Options schema.TableCreationOptions
2423 nameTransformer func (string ) string
2524 skipFields []string
2625 overrideColumns ColumnDefinitions
Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ type Table struct {
5050 // PreResourceResolver is called before all columns are resolved but after Resource is created. The ordering of resolvers is:
5151 // (Table) Resolver → PreResourceResolver → ColumnResolvers → PostResourceResolver
5252 PreResourceResolver RowResolver `json:"-"`
53- // Options allow modification of how the table is defined when created
54- Options TableCreationOptions `json:"options"`
5553
5654 // IgnoreInTests is used to exclude a table from integration tests.
5755 // By default, integration tests fetch all resources from cloudquery's test account, and verify all tables
@@ -69,12 +67,6 @@ type Table struct {
6967 columnsMap map [string ]int
7068}
7169
72- // TableCreationOptions allow modifying how table is created such as defining primary keys, indices, foreign keys and constraints.
73- type TableCreationOptions struct {
74- // List of columns to set as primary keys. If this is empty, a random unique ID is generated.
75- PrimaryKeys []string
76- }
77-
7870func (tt Tables ) TableNames () []string {
7971 ret := []string {}
8072 for _ , t := range tt {
You can’t perform that action at this time.
0 commit comments