Add color attribute.
authorJan Schneider <jan@horde.org>
Fri, 20 Feb 2009 00:23:14 +0000 (01:23 +0100)
committerJan Schneider <jan@horde.org>
Fri, 20 Feb 2009 00:23:38 +0000 (01:23 +0100)
kronolith/scripts/sql/kronolith.mssql.sql
kronolith/scripts/sql/kronolith.mysql.sql
kronolith/scripts/sql/kronolith.oci8.sql
kronolith/scripts/sql/kronolith.pgsql.sql
kronolith/scripts/sql/kronolith.sql
kronolith/scripts/sql/kronolith.xml
kronolith/scripts/upgrades/2009-02-20_add_attribute_color.sql [new file with mode: 0644]

index a5abdcf..b22798f 100644 (file)
@@ -49,6 +49,7 @@ CREATE TABLE kronolith_shares (
     perm_guest SMALLINT NOT NULL DEFAULT 0,
     attribute_name VARCHAR(255) NOT NULL,
     attribute_desc VARCHAR(255),
+    attribute_color VARCHAR(7),
     PRIMARY KEY (share_id)
 );
 
index c5b7a19..92e3073 100644 (file)
@@ -49,6 +49,7 @@ CREATE TABLE kronolith_shares (
     perm_guest SMALLINT NOT NULL DEFAULT 0,
     attribute_name VARCHAR(255) NOT NULL,
     attribute_desc VARCHAR(255),
+    attribute_color VARCHAR(7),
     PRIMARY KEY (share_id)
 );
 
index e5788ec..2af01c8 100644 (file)
@@ -49,6 +49,7 @@ CREATE TABLE kronolith_shares (
     perm_guest SMALLINT NOT NULL DEFAULT 0,
     attribute_name VARCHAR2(255) NOT NULL,
     attribute_desc VARCHAR2(255),
+    attribute_color VARCHAR2(7),
     PRIMARY KEY (share_id)
 );
 
index d192469..e83c044 100644 (file)
@@ -49,6 +49,7 @@ CREATE TABLE kronolith_shares (
     perm_guest SMALLINT NOT NULL DEFAULT 0,
     attribute_name VARCHAR(255) NOT NULL,
     attribute_desc VARCHAR(255),
+    attribute_color VARCHAR(7),
     PRIMARY KEY (share_id)
 );
 
index 2174b36..e938cd6 100644 (file)
@@ -49,6 +49,7 @@ CREATE TABLE kronolith_shares (
     perm_guest SMALLINT NOT NULL DEFAULT 0,
     attribute_name VARCHAR(255) NOT NULL,
     attribute_desc VARCHAR(255),
+    attribute_color VARCHAR(7),
     PRIMARY KEY (share_id)
 );
 
index 8951c80..20a1e10 100644 (file)
     <length>255</length>
    </field>
 
+   <field>
+    <name>attribute_color</name>
+    <type>text</type>
+    <default></default>
+    <notnull>false</notnull>
+    <length>7</length>
+   </field>
+
    <index>
     <name>kronolith_shares_share_name</name>
     <field>
diff --git a/kronolith/scripts/upgrades/2009-02-20_add_attribute_color.sql b/kronolith/scripts/upgrades/2009-02-20_add_attribute_color.sql
new file mode 100644 (file)
index 0000000..9d65ba1
--- /dev/null
@@ -0,0 +1 @@
+ALTER TABLE kronolith_shares ADD attribute_color VARCHAR(7);