diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-12-05 21:03:27 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-12-05 21:05:33 -0500 |
commit | 75cac0fd6b94f77ec8ff32ebc89ec513ee102831 (patch) | |
tree | b84a71e22ee7d0437895cf8676730b42eb0c02ff /db/statusnet.sql | |
parent | cb2966a64c618a90b84c7aac63e5193c054be3aa (diff) |
Added 'login' command that gives you a link that can be used to login to the website
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r-- | db/statusnet.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql index f7b3b113b..18abcdfdb 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -575,3 +575,13 @@ create table location_namespace ( modified timestamp comment 'date this record was modified' ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; + +create table login_token ( + user_id integer not null comment 'user owning this token' references user (id), + token char(32) not null comment 'token useable for logging in', + created datetime not null comment 'date this record was created', + modified timestamp comment 'date this record was modified', + + constraint primary key (user_id) +) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; + |