3. setting-up-your-first-laravel-4-model

#1#
app\models\User.php
#2#
composer.json:
$ composer update OR composer install
#3#
app\routes.php
#4#
$ php artisan serve
#5#
$ php artisan generate:migration create_posts_table --fields="body:text,
user_id:integer"
$ php artisan migrate
#6#
app\models\Post.php
#7#
问题：
Route::post方法需要进一步了解掌握(出错);
注意User::find(1);是找第一个用户id=1, 如果用户删除了, 会报错;