forked from fferriere/PommFosUserBundle
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtables.sql
More file actions
19 lines (19 loc) · 742 Bytes
/
tables.sql
File metadata and controls
19 lines (19 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CREATE TABLE fos_user (
id SERIAL PRIMARY KEY,
username VARCHAR(255) NOT NULL,
username_canonical VARCHAR(255) NOT NULL UNIQUE,
email VARCHAR(255) NOT NULL,
email_canonical VARCHAR(255) NOT NULL UNIQUE,
enabled BOOLEAN NOT NULL DEFAULT FALSE,
salt VARCHAR(255) NOT NULL,
password VARCHAR(255) NOT NULL,
last_login TIMESTAMP WITHOUT TIME ZONE,
locked BOOLEAN NOT NULL DEFAULT FALSE,
expired BOOLEAN NOT NULL DEFAULT FALSE,
expires_at TIMESTAMP WITHOUT TIME ZONE,
confirmation_token VARCHAR(255),
password_requested_at TIMESTAMP WITHOUT TIME ZONE,
roles TEXT[] NOT NULL,
credentials_expired BOOLEAN NOT NULL DEFAULT FALSE,
credentials_expire_at TIMESTAMP WITHOUT TIME ZONE
);