mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Added functionnal tests
This commit is contained in:
parent
3f67ea1e9d
commit
ce59d9ea87
8 changed files with 219 additions and 19 deletions
|
@ -1,7 +1,5 @@
|
|||
-- This is the database schema for PostgreSQL.
|
||||
|
||||
begin;
|
||||
|
||||
create table collection (
|
||||
path varchar primary key not null,
|
||||
parent_path varchar references collection (path));
|
||||
|
@ -22,12 +20,10 @@ create table line (
|
|||
value varchar not null,
|
||||
item_name varchar references item (name) not null,
|
||||
timestamp timestamp not null,
|
||||
primary key (key, item_name));
|
||||
primary key (key, value, item_name, timestamp));
|
||||
|
||||
create table property (
|
||||
key varchar not null,
|
||||
value varchar not null,
|
||||
collection_path varchar references collection (path) not null,
|
||||
primary key (key, collection_path));
|
||||
|
||||
commit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue