summaryrefslogtreecommitdiff
path: root/sql/Pg-upgrade-2.6.12-2.6.16.sql
blob: aaf49e9118ad175ba0beb34e20014a945b0748a3 (plain)
  1. CREATE SEQUENCE session_session_id_seq;
  2. CREATE TABLE session(
  3. session_id INTEGER PRIMARY KEY DEFAULT nextval('session_session_id_seq'),
  4. sl_login VARCHAR(50),
  5. token CHAR(32),
  6. last_used TIMESTAMP default now()
  7. );
  8. ALTER TABLE acc_trans ALTER COLUMN chart_id SET NOT NULL;