X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=schema.sql;h=11001d64d362a4fff731856a0dfeb01ff3000526;hb=965e005bba1208ef170275c170bd7f7cc1cadbfa;hp=c1805c4002b6bc76812ca81c979e2196c0d5d5c6;hpb=a2d3a797375c6e14889d89b975ee32e3068926b6;p=cavote.git diff --git a/schema.sql b/schema.sql index c1805c4..11001d6 100644 --- a/schema.sql +++ b/schema.sql @@ -3,6 +3,7 @@ drop table if exists attachments; drop table if exists votes; drop table if exists roles; drop table if exists users; +drop table if exists user_role; create table users ( id INTEGER primary key autoincrement, @@ -62,7 +63,7 @@ create table choices ( -- Test data -insert into users (email, password, name, organization, is_admin, key) values ("admin@admin.fr", "admin", "Toto (admin) Tata", "World corp", 1, "test"); +insert into users (email, password, name, organization, is_admin, key) values ("admin@admin.fr", "d033e22ae348aeb5660fc2140aec35850c4da997", "Toto (admin) Tata", "World corp", 1, "test"); -- mdp = admin insert into roles (id, name, system) values (1, "Tous", 1); insert into roles (name) values ("CA"); insert into roles (name) values ("Members");