Ignore:
Timestamp:
01/18/16 23:32:48 (8 years ago)
Author:
nanardon
Message:

Add basic functions for anonymous password reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-sql-upgrade.in

    r1490 r1640  
    883883 
    884884        ], 
    885     } 
     885    }, 
     886    { 
     887        ver => 17, 
     888        sql => [ 
     889            q{ 
     890            CREATE TABLE passwordreset 
     891            ( 
     892            -- Hérité(e) from table revisions:  rev integer NOT NULL DEFAULT nextval('revisions_rev_seq'::regclass), 
     893            -- Hérité(e) from table revisions:  date timestamp with time zone NOT NULL DEFAULT now(), 
     894            -- Hérité(e) from table revisions:  "create" timestamp with time zone NOT NULL DEFAULT now(), 
     895            -- Hérité(e) from table revisions:  ikey integer NOT NULL DEFAULT nextval('ikey_seq'::regclass), 
     896            "user" text NOT NULL, 
     897            id text NOT NULL, 
     898            CONSTRAINT passwordreset_pkey PRIMARY KEY (id), 
     899            CONSTRAINT password_reset_user_fkey FOREIGN KEY ("user") 
     900            REFERENCES "user" (name) MATCH SIMPLE 
     901            ON UPDATE CASCADE ON DELETE CASCADE 
     902            ) 
     903            INHERITS (revisions) 
     904            WITH ( 
     905            OIDS=FALSE 
     906            ); 
     907            }, 
     908        ], 
     909    }, 
    886910); 
    887911 
Note: See TracChangeset for help on using the changeset viewer.