Correct some field types.

This commit is contained in:
Andrew McMillan 2006-12-03 23:14:29 +13:00
parent 23b00adb22
commit ba92bbed18
2 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@ CREATE TABLE locks (
opaquelocktoken TEXT UNIQUE NOT NULL,
type TEXT,
scope TEXT,
depth TEXT,
depth INT,
owner INT REFERENCES usr(user_no),
timeout INTERVAL
timeout TIMESTAMP
);
CREATE INDEX locks_dav_name_idx ON locks(dav_name);

View File

@ -110,9 +110,9 @@ CREATE TABLE locks (
opaquelocktoken TEXT UNIQUE NOT NULL,
type TEXT,
scope TEXT,
depth TEXT,
depth INT,
owner INT REFERENCES usr(user_no),
timeout INTERVAL
timeout TIMESTAMP
);
CREATE INDEX locks_dav_name_idx ON locks(dav_name);