Permalink
Browse files

Uniformity changes.

  • Loading branch information...
1 parent 2d4e1be commit a34c46dd9ec203989f86228b1e9cf31c6e9936db @ysamouhos ysamouhos committed May 25, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 install/schema.sql
View
@@ -296,16 +296,16 @@ CREATE TABLE IF NOT EXISTS `users_nodes` (
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-CREATE TABLE IF NOT EXISTS `nodesettingschanges` (
- `entryid` int(10) NOT NULL AUTO_INCREMENT,
- `nodeid` int(10) NOT NULL DEFAULT '0',
+CREATE TABLE IF NOT EXISTS `node_settings_changes` (
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+ `node_id` int(10) unsigned NOT NULL DEFAULT '0',
`uid` int(10) NOT NULL,
`dateline` varchar(30) DEFAULT NULL,
`changemade` text NOT NULL,
`changemenu` enum('routerOS version upgrade/downgrade','groups','users','other','script','ip firewall other','ip firewall nat','ip firewall filter','wireless','snmp','radius','partitions','ipv6','ppp','INTERFACE','driver','led','user','system','special-login','routing','queue','port','mpls','log','ip','file','HARDWARE','certificate') NOT NULL,
`reason` enum('other','bug fix','critical-problem','imporovement','termination') NOT NULL,
`comment` text,
- PRIMARY KEY (`entryid`,`nodeid`),
+ PRIMARY KEY (`id`,`node_id`),
KEY `uid` (`uid`),
KEY `changemenu` (`changemenu`),
FULLTEXT KEY `changemade` (`changemade`)

0 comments on commit a34c46d

Please sign in to comment.