Changeset 50 for branches/old/sql


Ignore:
Timestamp:
Feb 20, 2015, 8:54:42 AM (10 years ago)
Author:
chronos
Message:
  • Modified: Show graph, table and other controls horizontally centered.
  • Added: Check for existence of config file.
  • Added: Check if database is accessible.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/old/sql/23_measure.sql

    r24 r50  
    11CREATE TABLE IF NOT EXISTS `measure` (
    22  `Id` int(11) NOT NULL auto_increment,
    3   `Name` varchar(255) collate latin2_czech_cs NOT NULL,
    4   `Description` varchar(255) collate latin2_czech_cs NOT NULL,
     3  `Name` varchar(255) collate utf8_general_ci NOT NULL,
     4  `Description` varchar(255) collate utf8_general_ci NOT NULL,
    55  `Divider` int(11) NOT NULL default '1',
    6   `Unit` varchar(16) collate latin2_czech_cs NOT NULL,
     6  `Unit` varchar(16) collate utf8_general_ci NOT NULL,
    77  `Continuity` tinyint(1) NOT NULL default '0',
    88  `Period` int(11) NOT NULL default '60',
    9   `OldName` varchar(32) collate latin2_czech_cs NOT NULL,
    10   `PermissionView` varchar(255) collate latin2_czech_cs NOT NULL default 'all',
    11   `PermissionAdd` varchar(255) collate latin2_czech_cs NOT NULL default 'localhost.localdomain',
    12   `Info` varchar(255) collate latin2_czech_cs NOT NULL,
     9  `OldName` varchar(32) collate utf8_general_ci NOT NULL,
     10  `PermissionView` varchar(255) collate utf8_general_ci NOT NULL default 'all',
     11  `PermissionAdd` varchar(255) collate utf8_general_ci NOT NULL default 'localhost.localdomain',
     12  `Info` varchar(255) collate utf8_general_ci NOT NULL,
    1313  `Enabled` int(11) NOT NULL default '1',
    1414  `Cumulative` int(11) NOT NULL default '0',
    15   `DataTable` varchar(32) collate latin2_czech_cs NOT NULL default 'data',
    16   `DataType` varchar(32) collate latin2_czech_cs NOT NULL,
     15  `DataTable` varchar(32) collate utf8_general_ci NOT NULL default 'data',
     16  `DataType` varchar(32) collate utf8_general_ci NOT NULL,
    1717  PRIMARY KEY  (`Id`)
    18 ) ENGINE=MyISAM  DEFAULT CHARSET=latin2 COLLATE=latin2_czech_cs;
     18) ENGINE=InnoDb  DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
Note: See TracChangeset for help on using the changeset viewer.