add last_login field to ttrss_users

This commit is contained in:
Andrew Dolgov 2005-11-18 10:11:56 +01:00
parent a3ab66336f
commit 4f628ae588
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);