Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 35 lines (26 sloc) 0.87 kB
#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#please see README
set -e
CURDIR=$(dirname $0)
DBNAME=$1
: ${DBNAME:="breakpad"}
VERSION=#.#
#echo '*********************************************************'
#echo 'support functions'
#psql -f ${CURDIR}/support_functions.sql $DBNAME
echo '*********************************************************'
echo 'fix '
echo 'no bug'
psql -f ${CURDIR}/_____.sql $DBNAME
echo '*********************************************************'
echo 'fix '
echo 'bug ######'
psql -f ${CURDIR}/_____.sql $DBNAME
psql -f ${CURDIR}/_____.sql $DBNAME
#change version in DB
psql -c "SELECT update_socorro_db_version( '$VERSION' )" $DBNAME
echo "$VERSION upgrade done"
exit 0
Jump to Line
Something went wrong with that request. Please try again.