#4877: Console schema generate doesnt work for every models.
----------------------------+-----------------------------------------------
Reporter: titang | Owner:
Type: Enhancement | Status: new
Priority: Medium | Milestone: 1.3.x.x
Component: Schema | Version:
Severity: Normal | Resolution:
Keywords: | Php_version: n/a
Cake_version: |
----------------------------+-----------------------------------------------
Comment (by euromark):
yeah
i did find out that cake has some real problems with that sometimes.
if you did not set up the table with a primary key in the first place
cake schema run update
will crash
if you try to update to a newer version from version control with tables
that you did not have yet, it will crash because it "does not find the
database table"
well, of course, because we want to create it.. :)
these are the two major things i noticed
i ended up doing it manually because the schema generation is not yet
stable enough
--
Ticket URL: <https://trac.cakephp.org/ticket/4877#comment:3>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---