Skip to content

Commit

Permalink
Merge pull request #6 from ing-bank/feature/token-arch
Browse files Browse the repository at this point in the history
add tokens_arch table
  • Loading branch information
arempter authored Apr 25, 2019
2 parents 257b037 + 8f09fef commit f78ffaf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions database/rokkudb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ CREATE TABLE user_groups(
ON DELETE CASCADE
ON UPDATE CASCADE
) COMMENT='User groups DB for Rokku';

CREATE TABLE tokens_arch(
sessiontoken VARCHAR(512) NOT NULL PRIMARY KEY,
username VARCHAR(512) NOT NULL,
expirationtime DATETIME NOT NULL,
assumedgroup VARCHAR(512),
arch_date DATETIME NOT NULL
) COMMENT='Archive token DB for Rokku';

0 comments on commit f78ffaf

Please sign in to comment.