aboutsummaryrefslogtreecommitdiffstats
path: root/schema.sql
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-11-08 22:22:36 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-11-08 22:22:36 +0100
commit8ab3ac64902e3216feaf6333a6ab93a0175b8b51 (patch)
treec522a9cf9638305779339b2e4b2c8a63ac444cdc /schema.sql
parent3e83f67dd0f3e16631207596f849e0977aa6d020 (diff)
downloadfamille-flask-8ab3ac64902e3216feaf6333a6ab93a0175b8b51.tar.gz
User feature (view and edit profile)
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql11
1 files changed, 10 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql
index 18ee95c..e0668c6 100644
--- a/schema.sql
+++ b/schema.sql
@@ -2,7 +2,16 @@ drop table if exists users;
create table users (
id integer primary key autoincrement,
user_name string not null,
- password string not null
+ password string not null,
+ last_seen string default (strftime('%Y-%m-%dT%H:%M:%SZ','now')),
+ birthday string,
+ nameday string,
+ notify boolean default 1,
+ email string,
+ phone string,
+ address_line1,
+ address_line2,
+ address_city_line
);
drop table if exists news;