summaryrefslogtreecommitdiff
path: root/sql/Pg-upgrade-2.6.2-2.6.3.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/Pg-upgrade-2.6.2-2.6.3.sql')
-rwxr-xr-xsql/Pg-upgrade-2.6.2-2.6.3.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/Pg-upgrade-2.6.2-2.6.3.sql b/sql/Pg-upgrade-2.6.2-2.6.3.sql
new file mode 100755
index 00000000..2abfe627
--- /dev/null
+++ b/sql/Pg-upgrade-2.6.2-2.6.3.sql
@@ -0,0 +1,10 @@
+--
+delete from status where formname = 'receipt';
+delete from status where formname = 'check';
+create table statu (trans_id int, formname text, printed bool default 'f', emailed bool default 'f', spoolfile text);
+insert into statu select trans_id, formname, printed, emailed, spoolfile from status;
+drop table status;
+alter table statu rename to status;
+create index status_trans_id_key on status (trans_id);
+--
+update defaults set version = '2.6.3';