forked from leonardoxc/leonardoxc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
manolis
committed
Dec 14, 2007
1 parent
c933ea6
commit 88551f7
Showing
7 changed files
with
270 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
CREATE TABLE leonardo_flights_new ( | ||
ID bigint(20) unsigned NOT NULL auto_increment, | ||
serverID smallint(5) unsigned NOT NULL default '0', | ||
originalURL varchar(255) NOT NULL default '', | ||
originalKML varchar(255) NOT NULL, | ||
original_ID mediumint(8) unsigned NOT NULL default '0', | ||
cat smallint(5) unsigned NOT NULL default '1', | ||
subcat smallint(5) unsigned NOT NULL default '1', | ||
category smallint(5) unsigned NOT NULL default '2', | ||
active smallint(6) NOT NULL default '0', | ||
dateAdded datetime NOT NULL default '0000-00-00 00:00:00', | ||
timesViewed mediumint(9) NOT NULL default '0', | ||
userID mediumint(8) unsigned NOT NULL default '0', | ||
originalUserID mediumint(8) unsigned NOT NULL default '0', | ||
userServerID mediumint(8) unsigned NOT NULL default '0', | ||
filename varchar(200) NOT NULL default '', | ||
place varchar(100) NOT NULL default '', | ||
glider varchar(50) NOT NULL default '', | ||
gliderBrandID smallint(5) unsigned NOT NULL default '0', | ||
comments text NOT NULL, | ||
linkURL varchar(200) NOT NULL default '', | ||
hasPhotos tinyint(3) unsigned NOT NULL default '0', | ||
photo1Filename varchar(150) NOT NULL default '', | ||
photo2Filename varchar(150) NOT NULL default '', | ||
photo3Filename varchar(150) NOT NULL default '', | ||
photo4Filename varchar(150) NOT NULL default '', | ||
photo5Filename varchar(150) NOT NULL default '', | ||
photo6Filename varchar(150) NOT NULL default '', | ||
takeoffID mediumint(9) NOT NULL default '0', | ||
takeoffVinicity float NOT NULL default '0', | ||
landingID mediumint(9) NOT NULL default '0', | ||
landingVinicity float NOT NULL default '0', | ||
`DATE` date NOT NULL default '0000-00-00', | ||
timezone float NOT NULL default '0', | ||
MAX_SPEED float NOT NULL default '0', | ||
MEAN_SPEED float NOT NULL default '0', | ||
MAX_ALT int(11) NOT NULL default '0', | ||
MIN_ALT int(11) NOT NULL default '0', | ||
TAKEOFF_ALT int(11) NOT NULL default '0', | ||
MAX_VARIO float NOT NULL default '0', | ||
MIN_VARIO float NOT NULL default '0', | ||
LINEAR_DISTANCE bigint(20) NOT NULL default '0', | ||
MAX_LINEAR_DISTANCE bigint(20) NOT NULL default '0', | ||
START_TIME mediumint(9) NOT NULL default '0', | ||
END_TIME mediumint(9) NOT NULL default '0', | ||
DURATION mediumint(9) NOT NULL default '0', | ||
BEST_FLIGHT_TYPE varchar(30) NOT NULL default '', | ||
FLIGHT_KM float NOT NULL default '0', | ||
FLIGHT_POINTS float NOT NULL default '0', | ||
autoScore float NOT NULL default '0', | ||
isLive tinyint(3) unsigned NOT NULL default '0', | ||
externalFlightType tinyint(3) unsigned NOT NULL default '0', | ||
forceBounds tinyint(3) unsigned NOT NULL default '0', | ||
firstPointTM int(10) unsigned NOT NULL default '0', | ||
firstLat float NOT NULL, | ||
firstLon float NOT NULL, | ||
lastPointTM int(10) unsigned NOT NULL default '0', | ||
lastLat float NOT NULL, | ||
lastLon float NOT NULL, | ||
FIRST_POINT varchar(50) NOT NULL default '', | ||
LAST_POINT varchar(50) NOT NULL default '', | ||
turnpoint1 varchar(100) NOT NULL default '', | ||
turnpoint2 varchar(100) NOT NULL default '', | ||
turnpoint3 varchar(100) NOT NULL default '', | ||
turnpoint4 varchar(100) NOT NULL default '', | ||
turnpoint5 varchar(100) NOT NULL default '', | ||
olcRefNum varchar(30) NOT NULL default '', | ||
olcFilename varchar(12) NOT NULL default '', | ||
olcDateSubmited datetime NOT NULL default '0000-00-00 00:00:00', | ||
private tinyint(3) unsigned NOT NULL default '0', | ||
gpsTrack tinyint(3) unsigned NOT NULL default '1', | ||
grecord smallint(6) NOT NULL default '0', | ||
validated smallint(6) NOT NULL default '0', | ||
validationMessage text NOT NULL, | ||
airspaceCheck tinyint(4) NOT NULL default '0', | ||
airspaceCheckFinal tinyint(4) NOT NULL default '0', | ||
airspaceCheckMsg text NOT NULL, | ||
checkedBy varchar(100) NOT NULL default '', | ||
NACid int(10) unsigned NOT NULL default '0', | ||
NACclubID bigint(20) NOT NULL default '0', | ||
`hash` varchar(100) NOT NULL default '', | ||
batchOpProcessed tinyint(3) unsigned NOT NULL default '0', | ||
PRIMARY KEY (ID), | ||
KEY userID (userID), | ||
KEY takeoffID (takeoffID), | ||
KEY takeoffID_2 (takeoffID), | ||
KEY NACClubIndex (NACclubID,NACid) | ||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; | ||
|
||
INSERT INTO `leonardo_flights_new` | ||
SELECT * | ||
FROM `leonardo_flights` ; | ||
|
||
|
||
ALTER TABLE `leonardo_flights` RENAME `leonardo_flights_iso` ; | ||
|
||
ALTER TABLE `leonardo_flights_new` RENAME `leonardo_flights` ; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
CREATE TABLE leonardo_pilots_new ( | ||
`pilotID` bigint( 20 ) NOT NULL default '0', | ||
`serverID` smallint( 5 ) unsigned NOT NULL default '0', | ||
`countryCode` char( 2 ) NOT NULL default '', | ||
`CIVL_ID` mediumint( 8 ) unsigned NOT NULL default '0', | ||
`NACid` int( 10 ) unsigned NOT NULL default '0', | ||
`NACmemberID` bigint( 20 ) unsigned NOT NULL default '0', | ||
`NACclubID` bigint( 20 ) NOT NULL default '0', | ||
`olcBirthDate` varchar( 8 ) NOT NULL default '', | ||
`olcFirstName` varchar( 100 ) NOT NULL default '', | ||
`olcLastName` varchar( 100 ) NOT NULL default '', | ||
`olcCallSign` varchar( 50 ) NOT NULL default '', | ||
`olcFilenameSuffix` varchar( 4 ) NOT NULL default '', | ||
`olcAutoSubmit` tinyint( 4 ) NOT NULL default '0', | ||
`FirstName` varchar( 40 ) NOT NULL default '', | ||
`LastName` varchar( 50 ) NOT NULL default '', | ||
`clubID` mediumint( 8 ) unsigned NOT NULL default '0', | ||
`sponsor` varchar( 255 ) default NULL , | ||
`Sex` varchar( 6 ) NOT NULL default '', | ||
`Birthdate` varchar( 15 ) NOT NULL default '', | ||
`BirthdateHideMask` varchar( 10 ) NOT NULL default 'xx.xx.xxxx', | ||
`Occupation` varchar( 100 ) NOT NULL default '', | ||
`MartialStatus` varchar( 20 ) NOT NULL default '', | ||
`OtherInterests` longtext NOT NULL , | ||
`PersonalWebPage` varchar( 150 ) NOT NULL default '', | ||
`PilotLicence` varchar( 100 ) NOT NULL default '', | ||
`BestMemory` longtext NOT NULL , | ||
`WorstMemory` longtext NOT NULL , | ||
`Training` varchar( 200 ) NOT NULL default '', | ||
`personalDistance` varchar( 150 ) NOT NULL default '', | ||
`personalHeight` varchar( 150 ) NOT NULL default '', | ||
`glider` varchar( 200 ) NOT NULL default '', | ||
`FlyingSince` varchar( 100 ) NOT NULL default '', | ||
`HoursFlown` varchar( 50 ) NOT NULL default '', | ||
`HoursPerYear` varchar( 50 ) NOT NULL default '', | ||
`FavoriteLocation` varchar( 250 ) NOT NULL default '', | ||
`UsualLocation` varchar( 150 ) NOT NULL default '', | ||
`FavoriteBooks` varchar( 150 ) NOT NULL default '', | ||
`FavoriteActors` varchar( 150 ) NOT NULL default '', | ||
`FavoriteSingers` varchar( 150 ) NOT NULL default '', | ||
`FavoriteMovies` varchar( 150 ) NOT NULL default '', | ||
`FavoriteSite` varchar( 150 ) NOT NULL default '', | ||
`Sign` varchar( 40 ) NOT NULL default '', | ||
`Spiral` varchar( 60 ) NOT NULL default '', | ||
`Bline` varchar( 100 ) NOT NULL default '', | ||
`FullStall` varchar( 100 ) NOT NULL default '', | ||
`Sat` varchar( 100 ) NOT NULL default '', | ||
`AsymmetricSpiral` varchar( 100 ) NOT NULL default '', | ||
`Spin` varchar( 100 ) NOT NULL default '', | ||
`OtherAcro` varchar( 150 ) NOT NULL default '', | ||
`camera` varchar( 150 ) NOT NULL default '', | ||
`camcorder` varchar( 150 ) NOT NULL default '', | ||
`Vario` varchar( 60 ) NOT NULL default '', | ||
`GPS` varchar( 60 ) NOT NULL default '', | ||
`Harness` varchar( 60 ) NOT NULL default '', | ||
`Reserve` varchar( 60 ) NOT NULL default '', | ||
`Helmet` varchar( 60 ) NOT NULL default '', | ||
`PilotPhoto` varchar( 30 ) NOT NULL default '', | ||
`FirstOlcYear` int( 10 ) NOT NULL default '0', | ||
PRIMARY KEY ( `pilotID` , `serverID` ) | ||
) ENGINE = MYISAM DEFAULT CHARSET = utf8 ; | ||
|
||
INSERT INTO `leonardo_pilots_new` SELECT * FROM `leonardo_pilots` ; | ||
|
||
|
||
ALTER TABLE `leonardo_pilots` RENAME `leonardo_pilots_iso` ; | ||
|
||
ALTER TABLE `leonardo_pilots_new` RENAME `leonardo_pilots` ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
CREATE TABLE `leonardo_waypoints_new` ( | ||
`ID` mediumint( 9 ) NOT NULL AUTO_INCREMENT , | ||
`name` varchar( 100 ) NOT NULL default '', | ||
`intName` varchar( 100 ) NOT NULL default '', | ||
`lat` float NOT NULL default '0', | ||
`lon` float NOT NULL default '0', | ||
`type` int( 11 ) NOT NULL default '0', | ||
`countryCode` varchar( 10 ) NOT NULL default 'GR', | ||
`location` varchar( 100 ) NOT NULL default '', | ||
`intLocation` varchar( 100 ) NOT NULL default '', | ||
`link` varchar( 255 ) NOT NULL default '', | ||
`description` text NOT NULL , | ||
`modifyDate` date NOT NULL default '2005-09-01', | ||
PRIMARY KEY ( `ID` ) , | ||
KEY `lat` ( `lat` , `lon` ) | ||
) ENGINE = MYISAM DEFAULT CHARSET = utf8 ; | ||
|
||
INSERT INTO `leonardo_waypoints_new` SELECT * FROM `leonardo_waypoints` ; | ||
|
||
ALTER TABLE `leonardo_waypoints` RENAME `leonardo_waypoints_iso` ; | ||
|
||
ALTER TABLE `leonardo_waypoints_new` RENAME `leonardo_waypoints` ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters