Closed 123Haynes closed 10 years ago
Thanks for the bug report, glad to hear you are starting to use Pheasant! My biggest todo over the next few weeks is to fill out that documentation. In the mean time, feel free to post issues or email me directly and I'll do what I can to help!
shouldn't it use initialize now?
$migrator->initialize(Post::schema());
Hi,
i'm currently trying to get started with pheasant and i noticed a little error in the available documentation. Here: https://pheasant.readthedocs.org/en/latest/gettingstarted.html#creating-tables
php migrator->migrate('post', Post::schema());
should be:php migrator->create('post', Post::schema());
I kinda missed how to use the tableName method too. Yes it's easy, but it isn't present in any example so i had to search through the Code to see that the expected return value.