no13bus
V2EX  ›  问与答

用 laravel4.1 的时候,使用 sqlite,然后 php artisan migrate:make create_users_table ––create=users 创建用户表的时候,sqlite 里面并没有任何反应。

  •  
  •   no13bus · Jun 22, 2014 · 4582 views
    This topic created in 4437 days ago, the information mentioned may be changed or developed.
    环境是wamp,php5.3.13,还有就是我开了php-openssl扩展,但是没下载MCrypt PHP扩展。
    有遇到这种情况的吗?
    1 replies    2014-06-22 17:00:30 +08:00
    lowstz
        1
    lowstz  
       Jun 22, 2014   ❤️ 1
    php artisan migrate:make create_users_table ––create=users
    php artisan migrate

    执行第二句就可以看到 sqlite 里面创建了 users 这个表了

    文档在这 http://laravel.com/docs/migrations
    第一句是 Creating Migrations
    第二句是 Running Migrations
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2839 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 13:04 · PVG 21:04 · LAX 06:04 · JFK 09:04
    ♥ Do have faith in what you're doing.