Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 12. júl 2025

Súbor: [Platon] / Metafox / sql / updates / 0.8.12 / newletters.sql (stiahnutie)

Revízia 1.1, Sat Nov 26 12:38:04 2005 UTC (19 years, 7 months ago) by nepto

Implemented newletter schema and client part.

DROP TABLE IF EXISTS ezin_nl_emails;
CREATE TABLE ezin_nl_emails (
        id int(11) NOT NULL auto_increment,
        section_id int(11) NOT NULL default '0',
        email varchar(255) NOT NULL,
        dt_added datetime default NULL,
        dt_removed datetime default NULL,
        ip varchar(255) default NULL,
        user_agent varchar(255) default NULL,
        PRIMARY KEY  (id),
        KEY ezin_nl_emails_section_id (section_id),
        UNIQUE KEY ezin_nl_emails_email (email),
        KEY ezin_nl_emails_dt_added (dt_added),
        KEY ezin_nl_emails_dt_removed (dt_removed),
        KEY ezin_nl_emails_ip (ip),
        KEY ezin_nl_emails_user_agent (user_agent)
);

DROP TABLE IF EXISTS ezin_nl_messages;
CREATE TABLE ezin_nl_messages (
        id int(11) NOT NULL auto_increment,
        sender varchar(255) NOT NULL,
        subject varchar(255) NOT NULL,
        dt_created datetime default NULL,
        body text,
        PRIMARY KEY  (id),
        KEY ezin_nl_messages_dt_created (dt_created)
);

DROP TABLE IF EXISTS ezin_nl_message_emails;
CREATE TABLE ezin_nl_message_emails (
        email_id int(11) NOT NULL,
        message_id int(11) NOT NULL,
        dt_posted datetime default NULL,
        KEY ezin_nl_message_emails_dt_posted (dt_posted),
        PRIMARY KEY (email_id, message_id)
);


Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok