Add option to disable uneccesary data migration

The latest subunit2sql migration includes a data migration to extract
the microseconds from timestamps into a separate column. However, the
infra DB for this has already stripped out all the microsecond data
from the timestamps, making running that part of the migration
unnecessary. This commit adds the flag to the template subunit2sql
config file so that we don't run that and just use the default value,
0, for the new columns, which should save a significant amount of time
when running the migration.

Change-Id: Idf32b883babc79cabe3da1d38e3f7ddd5c4127de
This commit is contained in:
Matthew Treinish 2015-03-06 15:23:05 -05:00
parent afc25cba89
commit d286d9f63d
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
[DEFAULT]
disable-microsecond-data-migration = True
[database]
connection = <%= @db_dialect %>://<%= @db_user %>:<%= @db_pass %>@<%= @db_host %>:<%= @db_port %>/<%= @db_name %>