Changeset 8
- Timestamp:
- 02/19/13 13:31:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/models/base/base_structure.sql
r7 r8 17 17 `DESCRIPTION_4` varchar(255) DEFAULT NULL, 18 18 PRIMARY KEY (`CATALOG_ID`) 19 ) ENGINE=MyISAM AUTO_INCREMENT=21DEFAULT CHARSET=utf819 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 20 20 21 21 -- dmn_layer_attribut -- … … 25 25 `ATTRIBUT_NAME` varchar(100) DEFAULT NULL, 26 26 PRIMARY KEY (`ATTRIBUT_ID`,`LAYER_INDEX`) 27 ) ENGINE=MyISAM AUTO_INCREMENT=11DEFAULT CHARSET=utf827 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 28 28 29 29 -- dmn_layer_object -- … … 44 44 PRIMARY KEY (`OBJECT_ID`), 45 45 KEY `DMN_LAYER_OBJECT_FKIndex2` (`THEMATIC_LAYERS_LAYER_INDEX`,`OBJECT_ID`) 46 ) ENGINE=MyISAM AUTO_INCREMENT=25DEFAULT CHARSET=utf846 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 47 47 48 48 -- dmn_layer_type -- … … 65 65 `SHORTCUT_DESC` varchar(255) DEFAULT NULL, 66 66 PRIMARY KEY (`SHORTCUT_CD`) 67 ) ENGINE=MyISAM AUTO_INCREMENT=13DEFAULT CHARSET=utf867 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 68 68 69 69 INSERT INTO dmn_shortcut_key VALUES(1,"F1",""); … … 111 111 `OBJECT_GEOMETRY` linestring NOT NULL COMMENT 'Feature geometry', 112 112 PRIMARY KEY (`OBJECT_ID`) 113 ) ENGINE=MyISAM AUTO_INCREMENT=3DEFAULT CHARSET=utf8113 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 114 114 115 115 -- generic_labels -- … … 118 118 `OBJECT_GEOMETRY` multipoint NOT NULL, 119 119 PRIMARY KEY (`OBJECT_ID`) 120 ) ENGINE=MyISAM AUTO_INCREMENT=90DEFAULT CHARSET=utf8120 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 121 121 122 122 -- generic_lat -- … … 134 134 `OBJECT_GEOMETRY` linestring NOT NULL, 135 135 PRIMARY KEY (`OBJECT_ID`) 136 ) ENGINE=MyISAM AUTO_INCREMENT=602DEFAULT CHARSET=utf8136 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 137 137 138 138 -- generic_notes -- … … 163 163 `OBJECT_GEOMETRY` multipoint NOT NULL COMMENT 'Feature geometry', 164 164 PRIMARY KEY (`OBJECT_ID`) 165 ) ENGINE=MyISAM AUTO_INCREMENT=16DEFAULT CHARSET=utf8165 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 166 166 167 167 -- lang_def -- … … 187 187 `QUERIES_CODE` varchar(1000) DEFAULT NULL, 188 188 PRIMARY KEY (`QUERIES_ID`) 189 ) ENGINE=MyISAM AUTO_INCREMENT=66DEFAULT CHARSET=utf8189 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 190 190 191 191 INSERT INTO prj_queries VALUES(1,0,"Lines without attribution","SELECT o.OBJECT_ID FROM generic_lines AS o WHERE o.OBJECT_ID NOT IN (SELECT a.OBJECT_GEOM_ID FROM generic_aat AS a)"); … … 208 208 `PRJ_SNAP_TOLERENCE` int(11) NOT NULL DEFAULT '10', 209 209 PRIMARY KEY (`SETTING_DBK`) 210 ) ENGINE=MyISAM AUTO_INCREMENT=2DEFAULT CHARSET=utf8210 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 211 211 212 212 … … 229 229 `DATE_END` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 230 230 PRIMARY KEY (`STAT_ID`) 231 ) ENGINE=MyISAM AUTO_INCREMENT=4DEFAULT CHARSET=utf8231 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 232 232 233 233 -- prj_toc -- … … 244 244 PRIMARY KEY (`CONTENT_ID`), 245 245 KEY `PRJ_TOC_FKIndex1` (`TYPE_CD`) 246 ) ENGINE=MyISAM AUTO_INCREMENT=130DEFAULT CHARSET=utf8246 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 247 247 248 248 … … 272 272 PRIMARY KEY (`LAYER_INDEX`), 273 273 KEY `THEMATIC_LAYERS_FKIndex1` (`TYPE_CD`) 274 ) ENGINE=MyISAM AUTO_INCREMENT=11DEFAULT CHARSET=utf8274 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 275 275 276 276 -- zoom_level -- … … 280 280 `RANK` int(11) DEFAULT NULL, 281 281 PRIMARY KEY (`ZOOM_ID`) 282 ) ENGINE=MyISAM AUTO_INCREMENT=7DEFAULT CHARSET=utf8282 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 283 283 284 284 INSERT INTO zoom_level VALUES(1,5000,2);
Note: See TracChangeset
for help on using the changeset viewer.