PHP Classes

File: src/Installer/sql/pgsql/10-users.sql

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Installer/sql/pgsql/10-users.sql   Download  
File: src/Installer/sql/pgsql/10-users.sql
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change: Less IDE Hacks.
Merge pull request #112 from UmeshAawte/master

No need of border if using shadow
Date: 7 years ago
Size: 899 bytes
 

Contents

Class file image Download
CREATE TABLE IF NOT EXISTS airship_users ( userid BIGSERIAL PRIMARY KEY, username TEXT, password TEXT, totp_offset BIGINT, totp_secret TEXT, enable_2factor BOOLEAN DEFAULT FALSE, session_canary TEXT, display_name TEXT, email TEXT, uniqueid TEXT, real_name TEXT DEFAULT NULL, birthdate TIMESTAMP NULL, allow_reset BOOLEAN DEFAULT FALSE, gpg_public_key TEXT, custom_fields JSONB NULL, publicprofile BOOLEAN DEFAULT FALSE, superuser BOOLEAN DEFAULT FALSE, created TIMESTAMP DEFAULT NOW(), modified TIMESTAMP DEFAULT NOW() ); CREATE UNIQUE INDEX ON airship_users (username); CREATE UNIQUE INDEX ON airship_users (uniqueid); DROP TRIGGER IF EXISTS update_airship_users_modtime ON airship_users; CREATE TRIGGER update_airship_users_modtime BEFORE UPDATE ON airship_users FOR EACH ROW EXECUTE PROCEDURE update_modtime();