Datenbank angepaßt

This commit is contained in:
Daniel Seifert 2009-12-15 12:27:11 +00:00
parent 1b87946f01
commit ca594d329e
6 changed files with 35 additions and 17 deletions

6
.gitattributes vendored
View File

@ -6,7 +6,11 @@ copy_this/modules/d3_geoip/views/d3_oxcmp_cur_geoip.php -text
copy_this/modules/d3_geoip/views/d3_oxcmp_lang_geoip.php -text copy_this/modules/d3_geoip/views/d3_oxcmp_lang_geoip.php -text
copy_this/out/admin/de/d3_geoip_lang.php -text copy_this/out/admin/de/d3_geoip_lang.php -text
copy_this/out/admin/tpl/d3_country_geoip.tpl -text copy_this/out/admin/tpl/d3_country_geoip.tpl -text
setup+doku/geoip.sql -text setup+doku/IPNum-Berechnung.xls -text
setup+doku/geoip-Data.sql -text
setup+doku/geoip-Struktur.sql -text
setup+doku/install.sql -text setup+doku/install.sql -text
setup+doku/install.txt -text setup+doku/install.txt -text
setup+doku/licence.txt -text setup+doku/licence.txt -text
setup+doku/update.sql -text
setup+doku/update.txt -text

Binary file not shown.

View File

@ -7,24 +7,8 @@
-- Server Version: 5.0.51 -- Server Version: 5.0.51
-- PHP-Version: 5.2.5 -- PHP-Version: 5.2.5
-- --
-- Datenbank: `heilsteinwelt`
-- --
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `d3geoip`
--
CREATE TABLE `d3geoip` (
`D3STARTIP` char(15) collate latin1_general_ci NOT NULL,
`D3ENDIP` char(15) collate latin1_general_ci NOT NULL,
`D3STARTIPNUM` int(10) NOT NULL,
`D3ENDIPNUM` int(10) NOT NULL,
`D3ISO` char(2) collate latin1_general_ci NOT NULL,
`D3COUNTRYNAME` varchar(50) collate latin1_general_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='GeoIP';
-- --
-- Daten für Tabelle `d3geoip` -- Daten für Tabelle `d3geoip`
-- --

View File

@ -0,0 +1,23 @@
-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 30. Oktober 2009 um 11:02
-- Server Version: 5.0.51
-- PHP-Version: 5.2.5
--
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `d3geoip`
--
CREATE TABLE `d3geoip` (
`D3STARTIP` char(15) collate latin1_general_ci NOT NULL,
`D3ENDIP` char(15) collate latin1_general_ci NOT NULL,
`D3STARTIPNUM` int(10) NOT NULL,
`D3ENDIPNUM` int(10) NOT NULL,
`D3ISO` char(2) collate latin1_general_ci NOT NULL,
`D3COUNTRYNAME` varchar(50) collate latin1_general_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='GeoIP';

4
setup+doku/update.sql Normal file
View File

@ -0,0 +1,4 @@
# =========== 1.0 => 1.1 ==============
ALTER TABLE `d3_geoip_test` CHANGE `D3STARTIPNUM` `D3ENDIPNUM` BIGINT( 10 ) NOT NULL;
ALTER TABLE `d3_geoip_test` CHANGE `D3ENDIPNUM` `D3ENDIPNUM` BIGINT( 10 ) NOT NULL;

3
setup+doku/update.txt Normal file
View File

@ -0,0 +1,3 @@
CSV-Datei über Editor von Anführungszeichen befreien, aufladen und über Konsole in geleerte Tabelle schreiben:
LOAD DATA LOCAL INFILE 'filename' INTO TABLE 'tablename' FIELDS TERMINATED BY ',';