Task #27649

Remove automatic DB schema updates

Added by Karsten Dambekalns about 4 years ago. Updated about 4 years ago.

Status:Resolved Start date:2011-06-22
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 1.0 beta 1
Sprint: Has patch:
PHP Version: Complexity:

Description

Only exception: if an empty database is found the system should try to migrate to the latest state.

Associated revisions

Revision 2b7a283b
Added by Karsten Dambekalns about 4 years ago

[TASK] Remove automatic Doctrine schema updates

No more DB schema updates, no more autoUpdate setting. Use migrations
instead. To get the system up and running from scratch, simply running
flow3_dev flow3:doctrine:migrate should be sufficient.

Proxies are still compiled automatically in runtime initialization,
whenever a model class has changed.

Resolves: #27649
Change-Id: Ib940f0821816ef835acb08c2b827963d80701c40

History

#1 Updated by Mr. Hudson about 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change Ib940f0821816ef835acb08c2b827963d80701c40 has been pushed to the review server.
It is available at http://review.typo3.org/2936

#2 Updated by Mr. Hudson about 4 years ago

Patch set 2 of change Ib940f0821816ef835acb08c2b827963d80701c40 has been pushed to the review server.
It is available at http://review.typo3.org/2936

#3 Updated by Karsten Dambekalns about 4 years ago

I'd push the "initial setup if needed" towards a setup tool:
  • it should work for Doctrine and other persistence backends
  • seeing if tables exist is possible but expensive
  • it would be only for the initial step, for which we now need manual action anyway (config file editing)

#4 Updated by Mr. Hudson about 4 years ago

Patch set 3 of change Ib940f0821816ef835acb08c2b827963d80701c40 has been pushed to the review server.
It is available at http://review.typo3.org/2936

#5 Updated by Karsten Dambekalns about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF