Re: [CakePHP : The Rapid Development Framework for PHP] #4877: Console schema generate doesnt work for every models.

2009-10-09 Thread CakePHP : The Rapid Development Framework for PHP
#4877: Console schema generate doesnt work for every models.
+---
Reporter:  titang   | Owner:
Type:  Enhancement  |Status:  closed
Priority:  Medium   | Milestone:  1.3.x.x   
   Component:  Schema   |   Version:
Severity:  Normal   |Resolution:  worksforme
Keywords:   |   Php_version:  n/a   
Cake_version:   |  
+---
Changes (by mark_story):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 You can make the models work with {{{Configure::listObjects()}}} but
 bootstrapping additional model paths.  This will enable you to include
 models in subdirectories in your schema files.  Also you can use the -f
 parameter to force using the tables for schema generation instead of the
 models.

 Closing as fixed, as there are a few ways to make this work.  If you think
 the issue isn't resolved please reopen.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #4877: Console schema generate doesnt work for every models.

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#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):

 well i guess my reports a little bit of topic.. :)
 i probably could have opened a new ticket for it as well

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #4877: Console schema generate doesnt work for every models.

2009-02-27 Thread CakePHP : The Rapid Development Framework for PHP
#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: 
CakePHP : The Rapid Development Framework for PHP 
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---