Thanks for that, but it's still producing an empty schema file.
Here's the command I'm running...
cake schema generate -plugin Users -file users-schema.php
... and here's my folder structure...
config
controllers
locale
models
plugins
users
controllers
views
models
tests
hmm...maybe because of tables or what...
i have Gallery Plugin and GalleryCategory and GalleryImage models and tables
gallery_images and gallery_categories and it works perfect!
so problem is maybe recognizing tables...make tables in
pluginname_controllername so users_users and then try again...
Thanks for the advice. Tried to rename my model, but there's a lot of
associated changes that would need to be made can't do that easily now, so
will try again when I have a little more time.
Toby
On 18 October 2010 13:34, Tilen Majerle tilen.maje...@gmail.com wrote:
hmm...maybe because of
do just thisopen this model and in class this:
var $useTable = table_name; //probaby users_users
--
Tilen Majerle
http://majerle.eu
2010/10/18 Toby Griffiths t...@tgpromotions.com
Thanks for the advice. Tried to rename my model, but there's a lot of
associated changes that would need
Nope. Still not working.
It's not because I've not upgraded to 1.3 yet is it? Still running on
1.2.7.
Toby
On 18 October 2010 14:18, Tilen Majerle tilen.maje...@gmail.com wrote:
do just thisopen this model and in class this:
var $useTable = table_name; //probaby users_users
--
ouu...why u didn't say this before :Dyes maybe, i'm using 1.3.4 and
there it works
--
Tilen Majerle
http://majerle.eu
2010/10/18 Toby Griffiths t...@tgpromotions.com
Nope. Still not working.
It's not because I've not upgraded to 1.3 yet is it? Still running on
1.2.7.
Toby
On 18
Sorry. Included almost everything else. Is always the last thing to you
think of, eh? ;o)
Toby
On 18 October 2010 15:17, Tilen Majerle tilen.maje...@gmail.com wrote:
ouu...why u didn't say this before :Dyes maybe, i'm using 1.3.4 and
there it works
--
Tilen Majerle
http://majerle.eu
Hi all,
I've recently created a Users plugin to manage all my user logins,
however I would now like to create a migration schema for the users
table, but running the...
cake schema generate
... on the app ignores the models in the plugin.
Does anyone know a way of generating schemas for plugin
cake schema generate -plugin plugin_name
--
Tilen Majerle
http://majerle.eu
2010/10/17 Toby G t...@tgpromotions.com
Hi all,
I've recently created a Users plugin to manage all my user logins,
however I would now like to create a migration schema for the users
table, but running the...