no13bus
V2EX  ›  问与答

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

  •  
  •   no13bus · Jun 22, 2014 · 4579 views
    This topic created in 4435 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   ·   929 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 20:13 · PVG 04:13 · LAX 13:13 · JFK 16:13
    ♥ Do have faith in what you're doing.