FAA Civil Aviation DB
This is a script to create a Postgres database locally from the FAA's civil aviation aircraft registry database download.
Instructions
Be sure you have Postgres installed and running locally and Ruby installed.
- Clone this repository.
- Download the database file.
- Unzip the file and place the txt files in the
data/
folder in this repository. - Run
rake
in the directory.
After completing this you will have a new database on your Postgres
database called aircraft_db
. See the tables.sql
file for the schema.