Commit 56fb325 1 parent 45c1a41 commit 56fb325 Copy full SHA for 56fb325
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 57
57
OUTPUT=` ./admin/psql --system " $DATABASE " < ./admin/sql/DisableLastUpdatedTriggers.sql 2>&1 ` || ( echo " $OUTPUT " ; exit 1 )
58
58
fi
59
59
60
+ # ###############################################################################
61
+ # Scripts that should run on *all* nodes (master/slave/standalone)
62
+
63
+ echo ` date` : ' Running upgrade scripts for all nodes'
64
+ if [ -e " $EXTENSIONS_SQL " ]
65
+ then
66
+ ./admin/psql --system " $DATABASE " < " $EXTENSIONS_SQL " || exit 1
67
+ fi
68
+ ./admin/psql " $DATABASE " < $SQL_DIR /${NEW_SCHEMA_SEQUENCE} .slave.sql || exit 1
69
+
60
70
# ###############################################################################
61
71
# Migrations that apply for only slaves
62
72
if [ " $REPLICATION_TYPE " = " $RT_SLAVE " ]
68
78
fi
69
79
fi
70
80
71
- # ###############################################################################
72
- # Scripts that should run on *all* nodes (master/slave/standalone)
73
-
74
- echo ` date` : ' Running upgrade scripts for all nodes'
75
- if [ -e " $EXTENSIONS_SQL " ]
76
- then
77
- ./admin/psql --system " $DATABASE " < " $EXTENSIONS_SQL " || exit 1
78
- fi
79
- ./admin/psql " $DATABASE " < $SQL_DIR /${NEW_SCHEMA_SEQUENCE} .slave.sql || exit 1
80
-
81
81
# ###############################################################################
82
82
# Re-enable replication
83
83
You can’t perform that action at this time.
0 commit comments