include vagrant and update README
This commit is contained in:
81
database/seeds/dev.yml
Normal file
81
database/seeds/dev.yml
Normal file
@@ -0,0 +1,81 @@
|
||||
#
|
||||
roles:
|
||||
- id: 1
|
||||
name: admin
|
||||
display_name: Administrators
|
||||
- id: 2
|
||||
name: user
|
||||
display_name: Pilot
|
||||
|
||||
users:
|
||||
- id: 1
|
||||
name: Admin User
|
||||
email: admin@phpvms.net
|
||||
password: admin
|
||||
created_at: now
|
||||
updated_at: now
|
||||
|
||||
role_user:
|
||||
- user_id: 1
|
||||
role_id: 1
|
||||
- user_id: 1
|
||||
role_id: 2
|
||||
|
||||
airlines:
|
||||
- id: 1
|
||||
code: VMS
|
||||
name: phpvms airlines
|
||||
active: 1
|
||||
created_at: now
|
||||
updated_at: now
|
||||
|
||||
airports:
|
||||
- icao: KAUS
|
||||
name: Austin-Bergstrom International Airport
|
||||
location: Austin, Texas, USA
|
||||
lat: 30.1945278
|
||||
lon: -97.6698889
|
||||
- icao: KJFK
|
||||
name: John F Kennedy International Airport
|
||||
location: New York, New York, USA
|
||||
lat: 40.6399257
|
||||
lon: -73.7786950
|
||||
|
||||
#
|
||||
aircraft_classes:
|
||||
- id: 1
|
||||
code: H
|
||||
name: Heavy
|
||||
|
||||
#
|
||||
aircraft:
|
||||
- id: 1
|
||||
aircraft_class_id: 1
|
||||
icao: B744
|
||||
name: Boeing 747-400
|
||||
registration: NC17
|
||||
tail_number: 17
|
||||
- id: 2
|
||||
aircraft_class_id: 1
|
||||
icao: B772
|
||||
name: Boeing 777-200
|
||||
registration: NC20
|
||||
tail_number: 20
|
||||
|
||||
#
|
||||
fares:
|
||||
- id: 1
|
||||
code: Y
|
||||
name: Economy
|
||||
price: 100
|
||||
capacity: 200
|
||||
- id: 2
|
||||
code: F
|
||||
name: First-Class
|
||||
price: 500
|
||||
capacity: 10
|
||||
|
||||
#
|
||||
aircraft_fare:
|
||||
- aircraft_id: 1
|
||||
fare_id: 1
|
||||
Reference in New Issue
Block a user