Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #019338: Database Check Failed after upgrading from Ez Publish …
…4.6 > 4.7 rc1 with Oracle
- Loading branch information
1 parent
e282027
commit 3369bc1
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
packages/ezgmaplocation_extension/ezextension/ezgmaplocation/sql/oracle/oracle.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...n_extension/ezextension/ezgmaplocation/update/database/oracle/1.5/dbupdate-1.4-to-1.5.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ALTER TABLE ezgmaplocation ADD ( latitude_tmp BINARY_DOUBLE DEFAULT 0 NOT NULL ); | ||
ALTER TABLE ezgmaplocation ADD ( longitude_tmp BINARY_DOUBLE DEFAULT 0 NOT NULL ); | ||
UPDATE ezgmaplocation SET latitude_tmp = latitude; | ||
UPDATE ezgmaplocation SET longitude_tmp = longitude; | ||
ALTER TABLE ezgmaplocation DROP ( latitude ); | ||
ALTER TABLE ezgmaplocation DROP ( longitude ); | ||
ALTER TABLE ezgmaplocation RENAME COLUMN latitude_tmp TO latitude; | ||
ALTER TABLE ezgmaplocation RENAME COLUMN longitude_tmp TO longitude; |