Changeset 89


Ignore:
Timestamp:
Jan 12, 2007 11:12:36 AM (6 years ago)
Author:
dkg
Message:

JPDD: added proper tables to the database for mailings, user tracking, and password resets. updated homepage a little bit.

Location:
trunk/jpdd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/jpdd/snippets/footer.default.html

    r85 r89  
    1 <div class="attribution">site code developed by <a href="http://www.fifthhorseman.net/">dkg</a></div> 
     1<div class="attribution">site code developed by <a href="http://www.fifthhorseman.net/">dkg</a> for the <a href="http://performanceassessment.org/">New York Performance Standards Consortium</a></div> 
  • trunk/jpdd/snippets/home.default.html

    r87 r89  
    1 <div class="narrow"><p>There will be a Professional Development Day for New York City 
    2 teachers at <a href="http://jrec.org/">the Julia Richman Education 
    3 Complex</a> on 31 January, 2007. 
     1<div class="narrow"><p>The <a 
     2href="http://performanceassessment.org/">New York Performance 
     3Standards Consortium</a> will be hosting a Professional Development 
     4Day for New York City teachers at <a href="http://jrec.org/">the Julia 
     5Richman Education Complex</a> on 31 January, 2007. 
    46 
    57<p>You can see the workshops that will be offered on that day, and if 
  • trunk/jpdd/sql/db.sql

    r87 r89  
    8585 
    8686ALTER TABLE public.log OWNER TO dkg; 
     87 
     88-- 
     89-- Name: mail_log; Type: TABLE; Schema: public; Owner: dkg; Tablespace:  
     90-- 
     91 
     92CREATE TABLE mail_log ( 
     93    id serial NOT NULL, 
     94    mail_from character varying NOT NULL, 
     95    mail_to character varying NOT NULL, 
     96    subject character varying NOT NULL, 
     97    body text NOT NULL, 
     98    extra_headers character varying, 
     99    whattime timestamp with time zone DEFAULT now() NOT NULL 
     100); 
     101 
     102 
     103ALTER TABLE public.mail_log OWNER TO dkg; 
    87104 
    88105-- 
     
    113130    session_touched timestamp with time zone, 
    114131    session_created timestamp with time zone, 
     132    resetpass character varying(30), 
     133    resetpass_created timestamp with time zone, 
    115134    CONSTRAINT person_email_check CHECK (((email)::text <> ''::text)), 
    116135    CONSTRAINT person_first_name_check CHECK (((first_name)::text <> ''::text)), 
     
    133152 
    134153ALTER TABLE public.person_privilege OWNER TO dkg; 
     154 
     155-- 
     156-- Name: post_log; Type: TABLE; Schema: public; Owner: dkg; Tablespace:  
     157-- 
     158 
     159CREATE TABLE post_log ( 
     160    id serial NOT NULL, 
     161    person_id integer, 
     162    whattime timestamp with time zone DEFAULT now() NOT NULL, 
     163    from_ip inet NOT NULL, 
     164    request character varying NOT NULL, 
     165    "action" character varying, 
     166    "type" character varying 
     167); 
     168 
     169 
     170ALTER TABLE public.post_log OWNER TO dkg; 
    135171 
    136172-- 
     
    246282 
    247283-- 
     284-- Name: mail_log_pkey; Type: CONSTRAINT; Schema: public; Owner: dkg; Tablespace:  
     285-- 
     286 
     287ALTER TABLE ONLY mail_log 
     288    ADD CONSTRAINT mail_log_pkey PRIMARY KEY (id); 
     289 
     290 
     291-- 
    248292-- Name: no_double_attendance; Type: CONSTRAINT; Schema: public; Owner: dkg; Tablespace:  
    249293-- 
     
    302346 
    303347-- 
     348-- Name: post_log_pkey; Type: CONSTRAINT; Schema: public; Owner: dkg; Tablespace:  
     349-- 
     350 
     351ALTER TABLE ONLY post_log 
     352    ADD CONSTRAINT post_log_pkey PRIMARY KEY (id); 
     353 
     354 
     355-- 
    304356-- Name: privilege_name_key; Type: CONSTRAINT; Schema: public; Owner: dkg; Tablespace:  
    305357-- 
     
    403455ALTER TABLE ONLY person_privilege 
    404456    ADD CONSTRAINT person_privilege_privilege_id_fkey FOREIGN KEY (privilege_id) REFERENCES privilege(id); 
     457 
     458 
     459-- 
     460-- Name: post_log_person_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: dkg 
     461-- 
     462 
     463ALTER TABLE ONLY post_log 
     464    ADD CONSTRAINT post_log_person_id_fkey FOREIGN KEY (person_id) REFERENCES person(id); 
    405465 
    406466 
Note: See TracChangeset for help on using the changeset viewer.