Add DROP FUNCTION back to allow migrations #160
This commit is contained in:
parent
255618f57d
commit
567e815fd0
3
Makefile
3
Makefile
@ -1,7 +1,7 @@
|
|||||||
# cartodb/Makefile
|
# cartodb/Makefile
|
||||||
|
|
||||||
EXTENSION = cartodb
|
EXTENSION = cartodb
|
||||||
EXTVERSION = 0.10.1
|
EXTVERSION = 0.10.2
|
||||||
|
|
||||||
SED = sed
|
SED = sed
|
||||||
|
|
||||||
@ -49,6 +49,7 @@ UPGRADABLE = \
|
|||||||
0.9.4 \
|
0.9.4 \
|
||||||
0.10.0 \
|
0.10.0 \
|
||||||
0.10.1 \
|
0.10.1 \
|
||||||
|
0.10.2 \
|
||||||
$(EXTVERSION)dev \
|
$(EXTVERSION)dev \
|
||||||
$(EXTVERSION)next \
|
$(EXTVERSION)next \
|
||||||
$(END)
|
$(END)
|
||||||
|
4
NEWS.md
4
NEWS.md
@ -1,6 +1,10 @@
|
|||||||
next (2015-mm-dd)
|
next (2015-mm-dd)
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
0.10.2 (2015-09-24)
|
||||||
|
-------------------
|
||||||
|
* Add back the `DROP FUNCTION IF EXISTS CDB_UserTables(text);` to be able to upgrade from `0.7.3` upward [#160](https://github.com/CartoDB/cartodb-postgresql/issues/160)
|
||||||
|
|
||||||
0.10.1 (2015-09-16)
|
0.10.1 (2015-09-16)
|
||||||
-------------------
|
-------------------
|
||||||
* Get back the `update_updated_at` function (still used by old tables) [#143](https://github.com/CartoDB/cartodb-postgresql/pull/143)
|
* Get back the `update_updated_at` function (still used by old tables) [#143](https://github.com/CartoDB/cartodb-postgresql/pull/143)
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
--
|
--
|
||||||
-- Currently accepted permissions are: 'public', 'private' or 'all'
|
-- Currently accepted permissions are: 'public', 'private' or 'all'
|
||||||
--
|
--
|
||||||
|
DROP FUNCTION IF EXISTS CDB_UserTables(text);
|
||||||
CREATE OR REPLACE FUNCTION CDB_UserTables(perm text DEFAULT 'all')
|
CREATE OR REPLACE FUNCTION CDB_UserTables(perm text DEFAULT 'all')
|
||||||
RETURNS SETOF name
|
RETURNS SETOF name
|
||||||
AS $$
|
AS $$
|
||||||
|
Loading…
Reference in New Issue
Block a user