friendica-addons/dav/SabreDAV/examples/sql/mysql.locks.sql
2012-07-27 18:35:14 +00:00

14 lines
279 B
SQL

CREATE TABLE locks (
id INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
owner VARCHAR(100),
timeout INTEGER UNSIGNED,
created INTEGER,
token VARCHAR(100),
scope TINYINT,
depth TINYINT,
uri VARCHAR(1000),
INDEX(token),
INDEX(uri)
);