Skip to content

Commit

Permalink
add token_arch table
Browse files Browse the repository at this point in the history
  • Loading branch information
kr7ysztof committed Apr 25, 2019
1 parent 257b037 commit 8f09fef
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 8f09fef

Please sign in to comment.