<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://doc-en-mirror.openflyers.com/index.php?action=history&amp;feed=atom&amp;title=Database-description</id>
	<title>Database description - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://doc-en-mirror.openflyers.com/index.php?action=history&amp;feed=atom&amp;title=Database-description"/>
	<link rel="alternate" type="text/html" href="https://doc-en-mirror.openflyers.com/index.php?title=Database-description&amp;action=history"/>
	<updated>2026-04-29T09:02:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://doc-en-mirror.openflyers.com/index.php?title=Database-description&amp;diff=291&amp;oldid=prev</id>
		<title>imported&gt;Claratte: Text replacement - &quot;&lt;sql&gt;&quot; to &quot;&lt;syntaxhighlight lang=&quot;sql&quot;&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://doc-en-mirror.openflyers.com/index.php?title=Database-description&amp;diff=291&amp;oldid=prev"/>
		<updated>2024-08-12T18:53:05Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;sql&amp;gt;&amp;quot; to &amp;quot;&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=[[Database-OF21|Dump of OF 2.1 structure]]=&lt;br /&gt;
=[[Database-OF35|Dump of OF 3.5 structure]]=&lt;br /&gt;
==booking table==&lt;br /&gt;
The content of ''aircraft_id'' field in ''booking'' table might be null. In this case, it's an old booking made onto a non-existing aircraft or an aircraft which no longer exists; also called orphan booking.&lt;br /&gt;
&lt;br /&gt;
==flight table==&lt;br /&gt;
*airborne :&lt;br /&gt;
**0: not airborne or flight closed: the pilot has finished his flight.&lt;br /&gt;
**1: airborne or flight opened: the pilot fills the flight before going flying.&lt;br /&gt;
&lt;br /&gt;
==Hidden fields==&lt;br /&gt;
Following fields can not be exported and should not be in included in SELECT statement. Moreover, SELECT with wild-card * is not possible when there is one table including hidden fields:&lt;br /&gt;
*Table club:&lt;br /&gt;
**name&lt;br /&gt;
**info_cell&lt;br /&gt;
**logo&lt;br /&gt;
**logo_name&lt;br /&gt;
**logo_ext&lt;br /&gt;
**logo_size&lt;br /&gt;
**first_hour_displayed&lt;br /&gt;
**last_hour_displayed&lt;br /&gt;
**usual_profiles&lt;br /&gt;
**default_slot_range&lt;br /&gt;
**min_slot_range&lt;br /&gt;
**twilight_range&lt;br /&gt;
**mailing_list_name&lt;br /&gt;
**mailing_list_type&lt;br /&gt;
**default_timezone&lt;br /&gt;
**lang&lt;br /&gt;
**admin_num&lt;br /&gt;
**mail_from_address&lt;br /&gt;
**default_view_type&lt;br /&gt;
**address&lt;br /&gt;
**zipcode&lt;br /&gt;
**city&lt;br /&gt;
**state&lt;br /&gt;
**country&lt;br /&gt;
**phone&lt;br /&gt;
**fax&lt;br /&gt;
**email&lt;br /&gt;
**default_notification&lt;br /&gt;
**welcome_cell&lt;br /&gt;
&lt;br /&gt;
*Table journal: all fields&lt;br /&gt;
*Table log: all fields&lt;br /&gt;
*Table parameter: all fields&lt;br /&gt;
&lt;br /&gt;
*Table person:&lt;br /&gt;
**hash_password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example of unallowed queries :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;SELECT * FROM club;&lt;br /&gt;
&lt;br /&gt;
SELECT hash_password FROM person;&lt;br /&gt;
&lt;br /&gt;
SELECT person.id, validity.*&lt;br /&gt;
FROM person&lt;br /&gt;
LEFT JOIN validity ON (person.id=validity.person_id);&amp;lt;/sql&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=[[OF_doc4-fr:Structure-de-la-base-de-données|Dump of OF 4 structure]]=&lt;/div&gt;</summary>
		<author><name>imported&gt;Claratte</name></author>
	</entry>
</feed>