Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
chore(ODC-125): delete run, stage, jenkins namespaces in tenant DB (#768
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MatousJobanek authored Jun 12, 2019
1 parent 158af94 commit 46a039a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions migration/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func getMigrations() migrations {
m = append(m, steps{executeSQLFile("007-create-tenants-update-table.sql")})
m = append(m, steps{executeSQLFile("008-add-can-continue-column-to-tenants-update.sql")})
m = append(m, steps{executeSQLFile("009-index-namespace-name.sql")})
m = append(m, steps{executeSQLFile("010-delete-run-stage-jenkins.sql")})

// Version N
//
Expand Down
1 change: 1 addition & 0 deletions migration/sql-files/010-delete-run-stage-jenkins.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DELETE FROM namespaces WHERE type = 'run' OR type = 'stage' OR type = 'jenkins';

0 comments on commit 46a039a

Please sign in to comment.