Bug #46706 Add DROP SCHEMA in forward enginering dialog
Submitted: 13 Aug 2009 20:16 Modified: 9 Feb 2010 16:47
Reporter: Anton Danilchenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.16 OS:Linux (Ubuntu x64)
Assigned to: Alexander Musienko CPU Architecture:Any

[13 Aug 2009 20:16] Anton Danilchenko
Description:
I have delete old database and recreate it with new data. Please drop schema before create new schema.

How to repeat:
Add DROP SCHEMA in forward enginering dialog
[13 Aug 2009 20:59] MySQL Verification Team
Thank you for the bug report.
[8 Feb 2010 11:35] Johannes Taxacher
this has been added to the Repository of Workbench 5.1. (This feature is also already included in currrent development version 5.2)
[9 Feb 2010 16:47] Tony Bedford
An entry has been added to the 5.1.19 changelog:

In the Forward Engineer SQL Script wizard the checkbox Generate DROP SCHEMA now causes every CREATE SCHEMA statement to be prepended with DROP SCHEMA IF EXISTS `schemaname`.