]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/examples/sql/pgsql.locks.sql
Merge branch 'master' of git://github.com/friendica/friendica-addons
[friendica-addons.git] / dav / SabreDAV / examples / sql / pgsql.locks.sql
1 CREATE TABLE locks (
2     id SERIAL NOT NULL,
3     owner VARCHAR(100),
4     timeout INTEGER,
5     created INTEGER,
6     token VARCHAR(100),
7     scope smallint,
8     depth smallint,
9     uri text
10 );
11
12 ALTER TABLE ONLY locks
13     ADD CONSTRAINT locks_pkey PRIMARY KEY (id);