Skip to content

Model Collection SchemaVersions and migrations on Collections

Codecov / codecov/patch succeeded Feb 7, 2024 in 1s

72.95% of diff hit (target 74.03%)

View this Pull Request on Codecov

72.95% of diff hit (target 74.03%)

Annotations

Check warning on line 75 in cli/schema_migration_down.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_migration_down.go#L75

Added line #L75 was not covered by tests

Check warning on line 43 in cli/schema_migration_set_registry.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_migration_set_registry.go#L35-L43

Added lines #L35 - L43 were not covered by tests

Check warning on line 48 in cli/schema_migration_set_registry.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_migration_set_registry.go#L45-L48

Added lines #L45 - L48 were not covered by tests

Check warning on line 50 in cli/schema_migration_set_registry.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_migration_set_registry.go#L50

Added line #L50 was not covered by tests

Check warning on line 75 in cli/schema_migration_up.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_migration_up.go#L75

Added line #L75 was not covered by tests

Check warning on line 76 in cli/schema_patch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_patch.go#L71-L76

Added lines #L71 - L76 were not covered by tests

Check warning on line 89 in cli/schema_patch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cli/schema_patch.go#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 432 in client/descriptions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/descriptions.go#L431-L432

Added lines #L431 - L432 were not covered by tests

Check warning on line 208 in core/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/key.go#L207-L208

Added lines #L207 - L208 were not covered by tests

Check warning on line 361 in core/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/key.go#L361

Added line #L361 was not covered by tests

Check warning on line 465 in core/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/key.go#L465

Added line #L465 was not covered by tests

Check warning on line 688 in core/key.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/key.go#L688

Added line #L688 was not covered by tests

Check warning on line 208 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L207-L208

Added lines #L207 - L208 were not covered by tests

Check warning on line 213 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L212-L213

Added lines #L212 - L213 were not covered by tests

Check warning on line 241 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L240-L241

Added lines #L240 - L241 were not covered by tests

Check warning on line 276 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L275-L276

Added lines #L275 - L276 were not covered by tests

Check warning on line 483 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L482-L483

Added lines #L482 - L483 were not covered by tests

Check warning on line 551 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L550-L551

Added lines #L550 - L551 were not covered by tests

Check warning on line 567 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L567

Added line #L567 was not covered by tests

Check warning on line 584 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L584

Added line #L584 was not covered by tests

Check warning on line 606 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L603-L606

Added lines #L603 - L606 were not covered by tests

Check warning on line 609 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L609

Added line #L609 was not covered by tests

Check warning on line 711 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L710-L711

Added lines #L710 - L711 were not covered by tests

Check warning on line 739 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L738-L739

Added lines #L738 - L739 were not covered by tests

Check warning on line 745 in db/collection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

db/collection.go#L744-L745

Added lines #L744 - L745 were not covered by tests