 comment on column users_login_infos.user_name is 'For some system (local, ldap, kerberos,...) provides the username (encrypted form)';
 comment on column users_login_infos.password is 'For some system (local, ldap, kerberos,...) provides the password (encrypted form)';
 comment on column users_login_infos.login_system is 'For some system (shibbolet, openID,...) provides the user id';
-comment on column users_login_infos.last_seen is 'Last time the user has logged in.';
+
 create table template_people_users_multimedia
        (
         person_user_ref integer not null,

        id integer not null default nextval('users_id_seq'),
        db_user_type smallint default 1 not null,
        people_id integer,
        constraint pk_users primary key (id),
        constraint unq_users unique (is_physical, gender, formated_name_indexed, birth_date),
        constraint fk_user_people_id foreign key (people_id) references people(id) on delete set NULL

        user_name varchar,
        password varchar,
        login_system varchar,
        constraint pk_users_login_infos primary key (id),
        constraint unq_users_login_infos unique (user_ref, login_type),
        constraint fk_users_login_infos_users foreign key (user_ref) references users(id) on delete cascade
