]> andersk Git - moira.git/blobdiff - db/schema.sql
Set creation time and creator information for new users.
[moira.git] / db / schema.sql
index 25b91ea39e95ed4dc7a54653292a2f8065e0088d..5ff0509c2dff2eb135b68fe77e08e5c9c8374b66 100644 (file)
@@ -4,7 +4,7 @@ create table users
        users_id        INTEGER         DEFAULT 0       NOT NULL,
        unix_uid        SMALLINT        DEFAULT 0       NOT NULL,
        shell           VARCHAR(32)     DEFAULT CHR(0)  NOT NULL,
-       winconsoleshell VARCHAR(32)     DEFAULT CHR(0)  NOT NULL,
+       winconsoleshell VARCHAR(32)     DEFAULT 'cmd'   NOT NULL,
        last            VARCHAR(30)     DEFAULT CHR(0)  NOT NULL,
        first           VARCHAR(30)     DEFAULT CHR(0)  NOT NULL,
        middle          VARCHAR(30)     DEFAULT CHR(0)  NOT NULL,
@@ -45,7 +45,9 @@ create table users
        signature       VARCHAR(68)     DEFAULT CHR(0)  NOT NULL,
        secure          INTEGER         DEFAULT 0       NOT NULL,       
        reservations    VARCHAR(10)     DEFAULT CHR(0)  NOT NULL,
-       flag            INTEGER         DEFAULT 0       NOT NULL
+       flag            INTEGER         DEFAULT 0       NOT NULL,
+       created         DATE            DEFAULT SYSDATE NOT NULL,
+       creator         INTEGER         DEFAULT 0       NOT NULL
 );
 
 create table krbmap
This page took 0.04471 seconds and 4 git commands to generate.