File: Pg-upgrade-2.6.2-2.6.3.sql

package info (click to toggle)
sql-ledger 3.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 33,080 kB
  • sloc: perl: 73,172; sql: 36,530; sh: 34; makefile: 21
file content (10 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
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';