init_db shouldn't easily drop tables
ClosedPublic

Authored by jskladan on Sep 9 2014, 10:47 AM.

Details

Summary

Changed the cli.py behaviour, so it requires -d parameter in order to
make destructive changes.

Test Plan

Tested locally

Diff Detail

Repository
rRSDB resultsdb
Branch
feature/T306
Lint
No Linters Available
Unit
No Unit Test Coverage
jskladan retitled this revision from to init_db shouldn't easily drop tables.Sep 9 2014, 10:47 AM
jskladan updated this object.
jskladan edited the test plan for this revision. (Show Details)
jskladan added reviewers: tflink, ralph.
tflink requested changes to this revision.Sep 9 2014, 2:51 PM

Can you add messages along the lines of "proceeding with non-destructive init. to use destructive init, use -d" to the init_db and mock_data commands?

This revision now requires changes to proceed.Sep 9 2014, 2:51 PM
jskladan updated this revision to Diff 659.Sep 10 2014, 7:53 AM
  • Added info about non-destructive init
tflink accepted this revision.Sep 29 2014, 2:31 PM

Looks good to me

This revision is now accepted and ready to land.Sep 29 2014, 2:31 PM