From: Andrew Dolgov Date: Fri, 18 Nov 2005 09:11:56 +0000 (+0100) Subject: add last_login field to ttrss_users X-Git-Tag: schema_feature_freeze_for_1.1~226 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4f628ae5883c6a801a81157453cbd84a914ebb5c;p=tt-rss.git add last_login field to ttrss_users --- diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index e8cf6e5e..5e8b544c 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -10,6 +10,7 @@ drop table if exists ttrss_users; create table ttrss_users (id integer primary key not null auto_increment, login varchar(120) not null unique, pwd_hash varchar(250) not null, + last_login timestamp default null, access_level integer not null default 0) TYPE=InnoDB; insert into ttrss_users (login,pwd_hash,access_level) values ('admin', 'password', 10); diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index b6832040..fdcd6105 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -10,6 +10,7 @@ drop table ttrss_users; create table ttrss_users (id serial not null primary key, login varchar(120) not null unique, pwd_hash varchar(250) not null, + last_login timestamp default null, access_level integer not null default 0); insert into ttrss_users (login,pwd_hash,access_level) values ('admin', 'password', 10);