Skip to content

Commit 945aa69

Browse files
chore: Fix failing tests in ci (#4194)
Fix failing tests on CI: - Adjust row model for replication accounts
1 parent 20ee0eb commit 945aa69

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

pkg/schemas/replication_account_gen.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/sdk/replication_functions.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ type replicationFunctions struct {
2828
}
2929

3030
type ReplicationAccount struct {
31-
SnowflakeRegion string `db:"snowflake_region"`
32-
CreatedOn time.Time `db:"created_on"`
33-
AccountName string `db:"account_name"`
34-
AccountLocator string `db:"account_locator"`
35-
Comment string `db:"comment"`
36-
OrganizationName string `db:"organization_name"`
37-
IsOrgAdmin bool `db:"is_org_admin"`
31+
SnowflakeRegion string `db:"snowflake_region"`
32+
CreatedOn time.Time `db:"created_on"`
33+
AccountName string `db:"account_name"`
34+
AccountLocator string `db:"account_locator"`
35+
Comment sql.NullString `db:"comment"`
36+
OrganizationName string `db:"organization_name"`
37+
IsOrgAdmin bool `db:"is_org_admin"`
3838
}
3939

4040
func (v *ReplicationAccount) ID() AccountIdentifier {

0 commit comments

Comments
 (0)