From 4415a2533532ff58e955e0d7197b71934ad9c102 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 4 Dec 2006 10:12:22 +1300 Subject: [PATCH] More evolution of what the 'locks' table will look like. --- dba/patches/1.1.6.sql | 2 +- dba/rscds.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dba/patches/1.1.6.sql b/dba/patches/1.1.6.sql index 17bdb27b..4b5ff70d 100644 --- a/dba/patches/1.1.6.sql +++ b/dba/patches/1.1.6.sql @@ -10,7 +10,7 @@ CREATE TABLE locks ( type TEXT, scope TEXT, depth INT, - owner INT REFERENCES usr(user_no), + owner TEXT, timeout INTERVAL, start TIMESTAMP DEFAULT current_timestamp ); diff --git a/dba/rscds.sql b/dba/rscds.sql index 83c062e7..58e91863 100644 --- a/dba/rscds.sql +++ b/dba/rscds.sql @@ -111,7 +111,7 @@ CREATE TABLE locks ( type TEXT, scope TEXT, depth INT, - owner INT REFERENCES usr(user_no), + owner TEXT, timeout INTERVAL, start TIMESTAMP DEFAULT current_timestamp );