Skip to content

Commit

Permalink
JUJU-7289 remove identity defaults (#1485)
Browse files Browse the repository at this point in the history
* remove identitymodeldefaults
  • Loading branch information
SimoneDutto authored Dec 10, 2024
1 parent 1f700c2 commit ad830a5
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 588 deletions.
91 changes: 0 additions & 91 deletions internal/db/identitymodeldefaults.go

This file was deleted.

154 changes: 0 additions & 154 deletions internal/db/identitymodeldefaults_test.go

This file was deleted.

15 changes: 0 additions & 15 deletions internal/dbmodel/identitymodeldefaults.go

This file was deleted.

5 changes: 5 additions & 0 deletions internal/dbmodel/sql/postgres/1_16.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- 1_16.sql is a migration to delete identitymodel defaults
DROP TABLE identity_model_defaults;

UPDATE versions SET major=1, minor=16 WHERE component='jimmdb';

2 changes: 1 addition & 1 deletion internal/dbmodel/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
// Minor is the minor version of the model described in the dbmodel
// package. It should be incremented for any change made to the
// database model from database model in a released JIMM.
Minor = 15
Minor = 16
)

type Version struct {
Expand Down
45 changes: 0 additions & 45 deletions internal/jimm/identitymodeldefaults.go

This file was deleted.

Loading

0 comments on commit ad830a5

Please sign in to comment.