Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for scripts/php/sk-nic/sql/newschema.sql between version 1.2 and 1.3

version 1.2, 2007/03/11 03:49:51 version 1.3, 2007/03/11 03:54:41
Line 1 
Line 1 
 drop table if exists domains;  drop table if exists sknic_domains;
 create table domains -- means domains_current  create table sknic_domains -- means sknic_domains_current
 (  (
         domain          varchar(255) not NULL,          domain          varchar(255) not NULL,
         id_reg          varchar(9) default NULL,          id_reg          varchar(9) default NULL,
Line 14  create table domains -- means domains_cu
Line 14  create table domains -- means domains_cu
         dt_valid        date    default NULL,          dt_valid        date    default NULL,
         dt_changed      date    not NULL,          dt_changed      date    not NULL,
         primary key (domain),          primary key (domain),
         key domains_id_reg              (id_reg),          key sknic_domains_id_reg                (id_reg),
         key domains_id_owner    (id_owner),          key sknic_domains_id_owner      (id_owner),
         key domains_flag                (flag),          key sknic_domains_flag          (flag),
         key domains_status              (status),          key sknic_domains_status                (status),
         key domains_ns1                 (ns1),          key sknic_domains_ns1                   (ns1),
         key domains_ns2                 (ns2),          key sknic_domains_ns2                   (ns2),
         key domains_ns3                 (ns3),          key sknic_domains_ns3                   (ns3),
         key domains_ns4                 (ns4),          key sknic_domains_ns4                   (ns4),
         key domains_ico_owner   (ico_owner),          key sknic_domains_ico_owner     (ico_owner),
         key domains_dt_valid    (dt_valid),          key sknic_domains_dt_valid      (dt_valid),
         key domains_dt_changed  (dt_changed)          key sknic_domains_dt_changed    (dt_changed)
 );  );
   
 drop table if exists domains_import;  drop table if exists sknic_domains_import;
 create table domains_import  create table sknic_domains_import
 (  (
         domain          varchar(255) not NULL,          domain          varchar(255) not NULL,
         id_reg          varchar(9) default NULL,          id_reg          varchar(9) default NULL,
Line 43  create table domains_import
Line 43  create table domains_import
         dt_valid        date    default NULL,          dt_valid        date    default NULL,
         dt_changed      date    default NULL,          dt_changed      date    default NULL,
         primary key (domain),          primary key (domain),
         key domains_import_id_reg               (id_reg),          key sknic_domains_import_id_reg         (id_reg),
         key domains_import_id_owner     (id_owner),          key sknic_domains_import_id_owner       (id_owner),
         key domains_import_flag         (flag),          key sknic_domains_import_flag           (flag),
         key domains_import_status               (status),          key sknic_domains_import_status         (status),
         key domains_import_ns1                  (ns1),          key sknic_domains_import_ns1                    (ns1),
         key domains_import_ns2                  (ns2),          key sknic_domains_import_ns2                    (ns2),
         key domains_import_ns3                  (ns3),          key sknic_domains_import_ns3                    (ns3),
         key domains_import_ns4                  (ns4),          key sknic_domains_import_ns4                    (ns4),
         key domains_import_ico_owner    (ico_owner),          key sknic_domains_import_ico_owner      (ico_owner),
         key domains_import_dt_valid             (dt_valid),          key sknic_domains_import_dt_valid               (dt_valid),
         key domains_import_dt_changed   (dt_changed)          key sknic_domains_import_dt_changed     (dt_changed)
 );  );
   
 drop table if exists domains_history;  drop table if exists sknic_domains_history;
 create table domains_history  create table sknic_domains_history
 (  (
         domain          varchar(255) not NULL,          domain          varchar(255) not NULL,
         id_reg          varchar(9) default NULL,          id_reg          varchar(9) default NULL,
Line 73  create table domains_history
Line 73  create table domains_history
         dt_changed      date    not NULL,          dt_changed      date    not NULL,
         dt_deleted      date,          dt_deleted      date,
         primary key (domain, dt_changed), -- note PRIMARY KEY change          primary key (domain, dt_changed), -- note PRIMARY KEY change
         key domains_history_id_reg              (id_reg),          key sknic_domains_history_id_reg                (id_reg),
         key domains_history_id_owner    (id_owner),          key sknic_domains_history_id_owner      (id_owner),
         key domains_history_flag                (flag),          key sknic_domains_history_flag          (flag),
         key domains_history_status              (status),          key sknic_domains_history_status                (status),
         key domains_history_ns1                 (ns1),          key sknic_domains_history_ns1                   (ns1),
         key domains_history_ns2                 (ns2),          key sknic_domains_history_ns2                   (ns2),
         key domains_history_ns3                 (ns3),          key sknic_domains_history_ns3                   (ns3),
         key domains_history_ns4                 (ns4),          key sknic_domains_history_ns4                   (ns4),
         key domains_history_ico_owner   (ico_owner),          key sknic_domains_history_ico_owner     (ico_owner),
         key domains_history_dt_valid    (dt_valid),          key sknic_domains_history_dt_valid      (dt_valid),
         key domains_history_dt_changed  (dt_changed),          key sknic_domains_history_dt_changed    (dt_changed),
         key domains_history_dt_deleted  (dt_deleted)          key sknic_domains_history_dt_deleted    (dt_deleted)
 );  );
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top