karenc / db-migrator

GNU Affero General Public License v3.0
4 stars 5 forks source link

catch no schema installed at all #17

Closed reedstrm closed 8 years ago

reedstrm commented 8 years ago

Catch the no table at all case, and still list. Perhaps should alert stronger, or provide an option to install an empty table?

karenc commented 8 years ago

Thanks! Going to close this and create a new pull request that logs a warning message for dbmigrator list but raise an error for dbmigrator migrate and dbmigrator rollback.

reedstrm commented 8 years ago

that sounds good. The warning could suggest running dbmigrator init

On Sat, Feb 27, 2016 at 6:16 PM, Karen Chan notifications@github.com wrote:

Thanks! Going to close this and create a new pull request that logs a warning message for dbmigrator list but raise an error for dbmigrator migrate and dbmigrator rollback.

— Reply to this email directly or view it on GitHub https://github.com/karenc/db-migrator/pull/17#issuecomment-189753022.

Ross Reedstrom, Ph.D. reedstrm@rice.edu Research Scientist phone: 713-348-6166 The Connexions Project http://cnx.org fax: 713-348-3665 Rice University MS-375, Houston, TX 77005 GPG Key fingerprint = F023 82C8 9B0E 2CC6 0D8E F888 D3AE 810E 88F0 BEDE