~ubuntu-branches/ubuntu/hardy/gallery2/hardy-security

« back to all changes in this revision

Viewing changes to modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/postgres/GalleryItemAttributesMap.sql

  • Committer: Bazaar Package Importer
  • Author(s): Michael C. Schultheiss
  • Date: 2006-04-16 16:42:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060416164235-8uy0u4bfjdxpge2o
Tags: 2.1.1-1
* New upstream release (Closes: #362936)
  + Bugfixes for Postgres7 (Closes: #359000, #362152)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
    -- This file was automatically generated from an XSL template, which is
3
 
    -- why it looks so ugly.  Editing it by hand would be a bad idea.
4
 
    --
5
 
 
6
 
    CREATE TABLE DB_TABLE_PREFIXItemAttributesMap (
7
 
  DB_COLUMN_PREFIXitemId
8
 
      INTEGER
9
 
    
10
 
      NOT NULL
11
 
    
12
 
      ,
13
 
    DB_COLUMN_PREFIXviewCount
14
 
      INTEGER
15
 
    
16
 
      ,
17
 
    DB_COLUMN_PREFIXorderWeight
18
 
      INTEGER
19
 
    
20
 
      ,
21
 
    DB_COLUMN_PREFIXparentSequence
22
 
      VARCHAR(
23
 
      
24
 
          255
25
 
        
26
 
      )
27
 
    
28
 
      NOT NULL
29
 
    
30
 
    );
31
 
 
32
 
  
33
 
    CREATE INDEX DB_TABLE_PREFIXItemAttributesMap_95270
34
 
    ON DB_TABLE_PREFIXItemAttributesMap
35
 
    (DB_COLUMN_PREFIXparentSequence);
36
 
 
37
 
  
38
 
    ALTER TABLE DB_TABLE_PREFIXItemAttributesMap
39
 
    ADD PRIMARY KEY (DB_COLUMN_PREFIXitemId);
40
 
    
41
 
 
42
 
    INSERT INTO DB_TABLE_PREFIXSchema (
43
 
      DB_COLUMN_PREFIXname,
44
 
      DB_COLUMN_PREFIXmajor,
45
 
      DB_COLUMN_PREFIXminor
46
 
      ) VALUES (
47
 
      'ItemAttributesMap',
48
 
      1,
49
 
      0
50
 
      );
51
 
 
52
 
  
 
 
b'\\ No newline at end of file'