Ticket #998 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

change create on cli to upgrade

Reported by: kindly Owned by: kindly
Priority: major Milestone:
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

When doing create on the cli upgrade should be run instead of create to make sure that every database is initiated in the same way.

Change History

comment:1 Changed 3 years ago by dread

'paster db create' (or init) should do exactly what we ask. Surely we should simply tell people to use 'paster db upgrade' instead?

comment:2 Changed 3 years ago by anonymous

I am happy to get rid of paster db create altogether as a compromise? Or add a depreciation warning to it?

comment:3 Changed 3 years ago by dread

Yes I agree - either of those sounds good. I think I've always used 'db init' in preference anyway.

comment:4 Changed 3 years ago by thejimmyg

  • Repository set to ckan
  • Status changed from new to closed
  • Theme set to none
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.