VersionedDatabase


Object Hierarchy:

Object hierarchy for VersionedDatabase

Description:

public class VersionedDatabase : Database

A class used to represent a database and its schema

The schema should be a directory which contains a Create.sql script to create the database and set the user_version.

Each time the database is opened, it will check for scripts named Update-to-%d.sql to update the schema to the version number represented by %d (i.e., user_version + 1), and execute them when appropriate.

This provides an easy way to keep your database schema up to data when you update your program.

All known sub-classes:
 

Namespace: SQLHeavy
Package: SQLHeavy

Content:

Properties:

Creation methods: