fossil 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fossil.gemspec +1 -1
- data/lib/models/crew_leg.rb +1 -1
- data/lib/models/trip_leg.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/fossil.gemspec
CHANGED
data/lib/models/crew_leg.rb
CHANGED
@@ -3,7 +3,7 @@ class CrewLeg < Sequel::Model(:'crew legs')
|
|
3
3
|
|
4
4
|
# Many to one associations with composite primary keys
|
5
5
|
n_to_o :trip_legs, :class=>:TripLeg, :prefix=>'trip leg'
|
6
|
-
many_to_one :crew_name, :class=>:
|
6
|
+
many_to_one :crew_name, :class=>:Personnel, :key=>:crew, :primary_key=>:employee_id
|
7
7
|
|
8
8
|
# Code associations
|
9
9
|
code_association :position_code, :'position', :position
|
data/lib/models/trip_leg.rb
CHANGED
@@ -6,7 +6,7 @@ class TripLeg < Sequel::Model(:'trip legs')
|
|
6
6
|
many_to_one :aircraft_type, :class=>:AircraftType, :key=>:'aircraft type id', :primary_key=>:'aircraft type id'
|
7
7
|
many_to_one :locked_by, :class=>:User, :key=>:'locked by - user id', :primary_key=>:'users initials'
|
8
8
|
many_to_one :leg_rate_aircraft, :class=>:Aircraft, :key=>:'leg rate ac id', :primary_key=>:'aircraft id'
|
9
|
-
many_to_one :authorizer_name, :class=>:
|
9
|
+
many_to_one :authorizer_name, :class=>:Personnel, :key=>:authorization, :primary_key=>:employee_id
|
10
10
|
|
11
11
|
# Many to one associations with composite primary keys
|
12
12
|
n_to_o :trip, :class=>:Trip, :prefix=>'trips'
|