PHP Classes
elePHPant
Icontem

File: schma_version.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Larry Wakeman  >  DB Schema Management  >  schma_version.php  >  Download  
File: schma_version.php
Role: Auxiliary script
Content type: text/plain
Description: Scema Version Table Definition
Class: DB Schema Management
Dump and update MySQL database schemata
Author: By
Last change: Fix a minor bug
Date: 3 years ago
Size: 2,265 bytes
 

Contents

Class file image Download
<?php
/*
 * Schema Version, sets the schema version for this database file
 */
$database['schema_version'] = array('major_version' => '0', 'minor_version' => '0', 'version_edit' => '1', 'custom_major' => '0', 'custom_minor' => '0', 'custom_edit' => '0', );
/*
 * Minimum Update Verson, Minimum version ot the schema to allow theupdate.
 */
$database['minimum_version'] = array(
'major_version' => '0', 'minor_version' => '0', 'version_edit' => '0', );

/*
 * Table schema_version
 */
$database['tables']['#schema_version']['columns']['major_version'] = array('Field' => 'major_version', 'Type' => 'int(11)', 'Collation' => '', 'Null' => 'NO', 'Key' => '', 'Default' => '', 'Extra' => '', 'Privileges' => 'select,insert,update,references', 'Comment' => '', );
$database['tables']['#schema_version']['columns']['minor_version'] = array('Field' => 'minor_version', 'Type' => 'int(11)', 'Collation' => '', 'Null' => 'NO', 'Key' => '', 'Default' => '', 'Extra' => '', 'Privileges' => 'select,insert,update,references', 'Comment' => '', );
$database['tables']['#schema_version']['columns']['version_edit'] = array('Field' => 'version_edit', 'Type' => 'int(11)', 'Collation' => '', 'Null' => 'NO', 'Key' => '', 'Default' => '', 'Extra' => '', 'Privileges' => 'select,insert,update,references', 'Comment' => '', );
$database['tables']['#schema_version']['columns']['custom_major'] = array('Field' => 'custom_major', 'Type' => 'int(11)', 'Collation' => '', 'Null' => 'NO', 'Key' => '', 'Default' => '0', 'Extra' => '', 'Privileges' => 'select,insert,update,references', 'Comment' => '', );
$database['tables']['#schema_version']['columns']['custom_minor'] = array('Field' => 'custom_minor', 'Type' => 'int(11)', 'Collation' => '', 'Null' => 'NO', 'Key' => '', 'Default' => '0', 'Extra' => '', 'Privileges' => 'select,insert,update,references', 'Comment' => '', );
$database['tables']['#schema_version']['columns']['custom_edit'] = array('Field' => 'custom_edit', 'Type' => 'int(11)', 'Collation' => '', 'Null' => 'NO', 'Key' => '', 'Default' => '0', 'Extra' => '', 'Privileges' => 'select,insert,update,references', 'Comment' => '', );
$database['tables']['#schema_version']['Engine'] = 'MyISAM';
$database['tables']['#schema_version']['Collation'] = 'latin1_swedish_ci';