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

« back to all changes in this revision

Viewing changes to modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/oracle/GalleryMimeTypeMap.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_PREFIXMimeTypeMap (
7
 
  DB_COLUMN_PREFIXextension
8
 
      VARCHAR2(
9
 
       32 
10
 
      )
11
 
    
12
 
    NOT NULL
13
 
  
14
 
      ,
15
 
    DB_COLUMN_PREFIXmimeType
16
 
      VARCHAR2(
17
 
       32 
18
 
      )
19
 
    
20
 
    NOT NULL
21
 
  
22
 
      ,
23
 
    DB_COLUMN_PREFIXviewable
24
 
      NUMBER(1)
25
 
    
26
 
    );
27
 
 
28
 
  
29
 
    ALTER TABLE DB_TABLE_PREFIXMimeTypeMap
30
 
      ADD PRIMARY KEY (DB_COLUMN_PREFIXextension)
31
 
  ;
32
 
  
33
 
 
34
 
    INSERT INTO DB_TABLE_PREFIXSchema (
35
 
      DB_COLUMN_PREFIXname,
36
 
      DB_COLUMN_PREFIXmajor,
37
 
      DB_COLUMN_PREFIXminor
38
 
      ) VALUES (
39
 
      'MimeTypeMap',
40
 
      1,
41
 
      0
42
 
      );
43
 
 
44
 
  
 
 
b'\\ No newline at end of file'