Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [#280] Refactor database migrate - optimize make:migration command #606

Merged
merged 6 commits into from
Aug 21, 2024

fix unit test

532064a
Select commit
Loading
Failed to load commit list.
Merged

feat: [#280] Refactor database migrate - optimize make:migration command #606

fix unit test
532064a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Aug 21, 2024 in 0s

70.37% of diff hit (target 69.53%)

View this Pull Request on Codecov

70.37% of diff hit (target 69.53%)

Annotations

Check warning on line 55 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L55

Added line #L55 was not covered by tests

Check warning on line 58 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L58

Added line #L58 was not covered by tests

Check warning on line 61 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L61

Added line #L61 was not covered by tests

Check warning on line 64 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L64

Added line #L64 was not covered by tests

Check warning on line 67 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L67

Added line #L67 was not covered by tests

Check warning on line 70 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L70

Added line #L70 was not covered by tests

Check warning on line 76 in database/console/migrate_creator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_creator.go#L76

Added line #L76 was not covered by tests

Check warning on line 71 in database/console/migrate_make_command.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/console/migrate_make_command.go#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 18 in database/migration/default_driver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/default_driver.go#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 37 in database/migration/default_driver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/default_driver.go#L37

Added line #L37 was not covered by tests

Check warning on line 10 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L9-L10

Added lines #L9 - L10 were not covered by tests

Check warning on line 13 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L13

Added line #L13 was not covered by tests

Check warning on line 15 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L15

Added line #L15 was not covered by tests

Check warning on line 18 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L18

Added line #L18 was not covered by tests

Check warning on line 20 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L20

Added line #L20 was not covered by tests

Check warning on line 23 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L23

Added line #L23 was not covered by tests

Check warning on line 25 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L25

Added line #L25 was not covered by tests

Check warning on line 28 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L28

Added line #L28 was not covered by tests

Check warning on line 30 in database/migration/schema.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/schema.go#L30

Added line #L30 was not covered by tests

Check warning on line 21 in database/migration/sql_driver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/sql_driver.go#L19-L21

Added lines #L19 - L21 were not covered by tests

Check warning on line 38 in database/migration/sql_driver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/sql_driver.go#L38

Added line #L38 was not covered by tests

Check warning on line 43 in database/migration/sql_driver.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/migration/sql_driver.go#L43

Added line #L43 was not covered by tests

Check warning on line 34 in database/service_provider.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

database/service_provider.go#L32-L34

Added lines #L32 - L34 were not covered by tests

Check warning on line 263 in foundation/container.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

foundation/container.go#L259-L263

Added lines #L259 - L263 were not covered by tests

Check warning on line 266 in foundation/container.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

foundation/container.go#L266

Added line #L266 was not covered by tests