• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 1546 for branches/dbupdates

Show
Ignore:
Timestamp:
05/21/07 13:33:08 (18 months ago)
Author:
jmoore
Message:
  • Renaming 3.0-TRUNK db version to OMERO3.
  • Added VERSIONS.txt
  • Need upgrade scripts
Location:
branches/dbupdates/sql
Files:
4 added
1 modified
3 moved

  • VERSIONS.txt (added)
  • psql/OMERO3__0__TEST__1.sql (added)
  • psql/OMERO3__0__bootstrap.sql (moved) (moved from branches/dbupdates/sql/psql/3.0-TRUNK__0__bootstrap.sql) (2 diffs)
  • psql/OMERO3__4__data.sql (moved) (moved from branches/dbupdates/sql/psql/3.0-TRUNK__0__data.sql) (2 diffs)
  • psql/OMERO3__4__schema.sql (moved) (moved from branches/dbupdates/sql/psql/3.0-TRUNK__0__schema.sql)
  • psql/TEST__1__TEST__2.sql (added)
  • templates/bootstrap.sql (modified) (2 diffs)
  • templates/current.sql (added)

Legend:

Unmodified
Added
Removed
  • branches/dbupdates/sql/psql/OMERO3__0__bootstrap.sql

    r1525 r1546  
    11begin; 
     2 
     3    create sequence seq_dbpatch; 
    24 
    35    create table dbpatch ( 
    … …  
    2325        unique (currentVersion, currentPatch, previousVersion, previousPatch); 
    2426 
    25     create sequence seq_dbpatch; 
    26  
    27     insert into dbpatch (currentVersion, currentPatch, previousVersion, previousPatch, message, finished)  
    28                  values ('3.0-TRUNK',0,'3.0-TRUNK',1, 'Bootstrapped', now()); 
     27    insert into dbpatch (currentVersion, currentPatch, previousVersion, previousPatch, message,        finished) 
     28                 values ('OMERO3',       0,            'OMERO3',        1,             'Bootstrapped', now()); 
    2929 
    3030commit; 
  • branches/dbupdates/sql/psql/OMERO3__4__data.sql

    r1526 r1546  
    2121-- 
    2222insert into dbpatch (currentVersion, currentPatch, previousVersion, previousPatch, message)  
    23              values ('3.0-TRUNK',    @DBPATCH@,    '3.0-TRUNK',     0,             'Initializing'); 
     23             values ('OMERO3',       @DBPATCH@,    'OMERO3',        0,             'Initializing'); 
    2424 
    2525-- 
    … …  
    436436-- Here we have finished initializing this database.  
    437437update dbpatch set message = 'Database ready.', finished = now()  
    438   where currentVersion = '3.0-TRUNK' and  
    439         currentPatch = @DBPATCH@ and  
    440         previousVersion = '3.0-TRUNK' and  
    441         previousPatch = 0; 
     438  where currentVersion  = 'OMERO3'    and 
     439        currentPatch    = @DBPATCH@   and 
     440        previousVersion = 'OMERO3'    and 
     441        previousPatch   = 0; 
    442442 
    443443commit; 
  • branches/dbupdates/sql/templates/bootstrap.sql

    r1525 r1546  
    1010-- 
    1111begin; 
     12 
     13    create sequence seq_dbpatch; 
    1214 
    1315    create table dbpatch ( 
    … …  
    3335        unique (currentVersion, currentPatch, previousVersion, previousPatch); 
    3436 
    35     create sequence seq_dbpatch; 
    36  
    3737    insert into dbpatch (currentVersion, currentPatch, previousVersion, previousPatch, message, finished)  
    3838                 values ('@CURRENTVERSION@',0,'@CURRENTVERSION@',1, 'Bootstrapped', now()); 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/