Skip to content

Commit

Permalink
Bees DB Delete renamed to bees-db-drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Vermeulen committed Dec 12, 2011
1 parent 3fd0dce commit 1fe4e2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/BeesDbDelete.groovy → scripts/BeesDbDrop.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ includeTargets << new File("${cloudBeesPluginDir}/scripts/_BeesHelper.groovy")
includeTargets << new File("${cloudBeesPluginDir}/scripts/_BeesCommon.groovy")

USAGE = '''
grails bees-db-delete [dbId]
grails bees-db-drop [dbId]
dbId : the database name (defaults to the application name)
'''

target(beesDbDelete: "Delete a MySQL database.") {
target(beesDbDrop: "Drop a MySQL database.") {
depends(checkConfig, prepareClient)
if(usage()) return

Expand All @@ -22,8 +22,8 @@ target(beesDbDelete: "Delete a MySQL database.") {
dealWith e
}

event "StatusFinal", ["Database $dbId deleted successfully: $response.deleted"]
event "StatusFinal", ["Database $dbId dropped successfully: $response.deleted"]

}

setDefaultTarget(beesDbDelete)
setDefaultTarget(beesDbDrop)

0 comments on commit 1fe4e2b

Please sign in to comment.