Skip to content

Commit

Permalink
Drop the database(s) before running the sql load scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
macdiesel committed Jun 7, 2017
1 parent f672bc5 commit f4ef086
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ecommerce.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
-- Current Database: `ecommerce`
--

DROP DATABASE /*!32312 IF EXISTS*/ `ecommerce`;

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ecommerce` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `ecommerce`;
Expand Down
2 changes: 2 additions & 0 deletions edxapp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
-- Current Database: `edxapp`
--

DROP DATABASE /*!32312 IF EXISTS*/ `edxapp`;

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `edxapp` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `edxapp`;
Expand Down
2 changes: 2 additions & 0 deletions edxapp_csmh.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
-- Current Database: `edxapp_csmh`
--

DROP DATABASE /*!32312 IF EXISTS*/ `edxapp_csmh`;

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `edxapp_csmh` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `edxapp_csmh`;
Expand Down

0 comments on commit f4ef086

Please sign in to comment.