Skip to content

Commit

Permalink
test: index and action API
Browse files Browse the repository at this point in the history
  • Loading branch information
toopay committed Oct 22, 2024
1 parent 7a7d3bc commit b24117e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/supabase/supabase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import (
)

var (
relationAction = objects.TablesRelationshipAction{
ConstraintName: "constraint1",
UpdateAction: "c",
DeletionAction: "c",
}
sampleUpdateNewTable = objects.Table{
Schema: "some-schema",
Name: "some-table",
Expand All @@ -38,6 +43,8 @@ var (
SourceSchema: "some-schema",
SourceColumnName: "some-column",
TargetTableSchema: "other-schema",
Action: &relationAction,
Index: &objects.Index{Schema: "public", Table: "table1", Name: "index1", Definition: "index1"},
},
},
RLSEnabled: true,
Expand Down

0 comments on commit b24117e

Please sign in to comment.