Skip to content

Commit

Permalink
[201811] enable DB migrator code (#536)
Browse files Browse the repository at this point in the history
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
  • Loading branch information
yxieca committed May 20, 2019
1 parent 7f7f384 commit d823062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/db_migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def version_unknown(self):
# here we only intended to migrade to DB version 1.0.1.
# If new DB version is added in the future, the incremental
# upgrade will take care of the subsequent migrations.
# self.migrate_pfc_wd_table()
# self.set_version('version_1_0_1')
# return 'version_1_0_1'
self.migrate_pfc_wd_table()
self.set_version('version_1_0_1')
return 'version_1_0_1'


def version_1_0_1(self):
Expand Down

0 comments on commit d823062

Please sign in to comment.