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

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/branches/3.0-Beta2/sql/README.txt

Revision 1562, 0.8 kB (checked in by jmoore, 15 months ago)

#712 Initial update scripts from patch 1 to 4. See also #373

Line 
1
2DATABASE SCRIPTS:
3================
4
5The directories which are named after the supported database profiles (currently "psql")
6contains scripts for creating fresh databases as well as for upgrading existing database.
7
8All scripts are of the form:
9
10  CURRENTVERSION__CURRENTPATCH__TARGETVERSION__TARGETPATCH.sql
11
12with the exception of:
13
14  CURRENTVERSION__0__bootstrap.sql        Adds the "dbpatch" table to earlier databases
15  CURRENTVERSION__0__schema.sql           Creates a fresh database
16  CURRENTVERSION__0__data.sql             Adds OMERO-specific data to a fresh database
17
18
19To create the update scripts, first cleaned version of each schema are compared
20(where cleaned means simple formatting differences, random foreign key names, etc.
21are removed). Then it is necessary to compare the values in all enumerations.
Note: See TracBrowser for help on using the browser.

Download in other formats:

  • Plain Text
  • Original Format

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

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