Refuse to create new extension if legacy code is present on database

Closes #20
This commit is contained in:
Sandro Santilli
2014-05-14 12:39:53 +02:00
parent 02575155ce
commit ca4ce102bb
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ ver=$1
input=cartodb--${ver}.sql
output=cartodb--unpackaged--${ver}.sql
cat ${input} > ${output}
cat ${input} | grep -v 'duplicated extension$' > ${output}
# Migrate CDB_TableMetadata
cat >> ${output} <<'EOF'