Skip to content

Commit

Permalink
Change power and location fields from integers
Browse files Browse the repository at this point in the history
Latitude, longitude, and power table columns where integers before.
  • Loading branch information
erssebaggala authored Mar 25, 2019
1 parent 40de109 commit a03575b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def upgrade():
sa.Column('bcc', sa.Integer,),
sa.Column('ci', sa.Integer,),
sa.Column('rac', sa.Integer, ),
sa.Column('sac', sa.Integer, ),
sa.Column('modified_by', sa.Integer),
sa.Column('added_by', sa.Integer),
sa.Column('date_added', sa.TIMESTAMP, default=sa.func.now(), onupdate=sa.func.now()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def upgrade():
sa.Column('lac', sa.Integer,),
sa.Column('maximum_transmission_power', sa.Double,),
sa.Column('secondary_sch_power', sa.Double, ),
sa.Column('azimuth', sa.Integer,),
sa.Column('azimuth', sa.Float,),
sa.Column('height', sa.Integer,),
sa.Column('primary_sch_power', sa.Integer,),
sa.Column('rac', sa.Integer,),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ def upgrade():
sa.Column('cell_pk', sa.Integer),
sa.Column('node_pk', sa.Integer,),
sa.Column('dl_earfcn', sa.Integer,),
sa.Column('ul_earfcn', sa.Integer, ),
sa.Column('mnc', sa.Integer,),
sa.Column('mcc', sa.Integer, ),
sa.Column('localCellId', sa.Integer,),
sa.Column('local_cellid', sa.Integer,),
sa.Column('pci', sa.Integer, ),
sa.Column('tac', sa.Integer, ),
sa.Column('ci', sa.Integer, ),
sa.Column('enodeb_id', sa.Integer, ),
sa.Column('modified_by', sa.Integer),
sa.Column('added_by', sa.Integer),
sa.Column('date_added', sa.TIMESTAMP, default=sa.func.now(), onupdate=sa.func.now()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def upgrade():
sa.Column('node_pk', sa.Integer),
sa.Column('rac', sa.Integer),
sa.Column('lac', sa.Integer),
sa.Column('primary_cpich_power', sa.Integer),
sa.Column('secondary_cpich_power', sa.Integer),
sa.Column('primary_cpich_power', sa.Double),
sa.Column('secondary_cpich_power', sa.Double),
sa.Column('uarfcn_dl', sa.Integer),
sa.Column('uarfcn_ul', sa.Integer),
sa.Column('mnc', sa.Integer),
Expand All @@ -35,6 +35,7 @@ def upgrade():
sa.Column('ci', sa.Integer),
sa.Column('rncid', sa.Integer),
sa.Column('psc', sa.Integer),
sa.Column('sac', sa.Integer),
sa.Column('modified_by', sa.Integer),
sa.Column('added_by', sa.Integer),
sa.Column('date_added', sa.TIMESTAMP, default=sa.func.now(), onupdate=sa.func.now()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def upgrade():
sa.Column('latitude', sa.Float,),
sa.Column('longitude', sa.Float,),
sa.Column('cgi', sa.String(200),),
sa.Column('azimuth', sa.Integer,),
sa.Column('azimuth', sa.Float,),
sa.Column('height', sa.Integer,),
sa.Column('mechanical_tilt', sa.Integer,),
sa.Column('electrical_tilt', sa.Integer,),
Expand Down

0 comments on commit a03575b

Please sign in to comment.