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 );