I've started to use the Yiiboilerplate. I think this is great directory structure, but I have a very big problem...
I can't create the user table in my database and the
./runpostdeploy environmentType migrationscommand always give me exceptions.
At firstly I don't find any step by step guide, how I can setting the user table and I still don't find any good article by the google.
At firstly I configurated the db connections. It is good. Then I executed this command in terminal(ubuntu):
./runpostdeploy environmentType migrations
The result was a lot of exceptions... the first was: "Don't find the tbl_migration table". Okay, so I created this table in my database.
After this I got another exception: "'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'version' in 'field list'' ". And I don't know, what kind of table shema I have to use on tbl_migration. I don't find any information about this.
I just would like to run /console/migration/m120805_131754_user_table_migration.php file, but I don't have any ideas how I can run it...
Somebody Can give me a step by step guide?