<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                更新現有的數據表,可使用 `Schema::table` 方法: ~~~ Schema::table('users', function($table) { $table->string('email'); }); ~~~ 數據表產生器提供多種字段類型可使用,在您建立數據表時也許會用到: |命令|功能描述| |----|-------| |$table->bigIncrements('id');|ID 自動增量,使用相當于「big /integer」類型| |$table->bigInteger('votes');|相當于 BIGINT 類型| |$table->binary('data');|相當于 BLOB 類型| |$table->boolean('confirmed');|相當于 BOOLEAN 類型| |$table->char('name', 4);|相當于 CHAR 類型,并帶有長度| |$table->date('created_at');|相當于 DATE 類型| |$table->dateTime('created_at');|相當于 DATETIME 類型| |$table->decimal('amount', 5, 2);|相當于 DECIMAL 類型,并帶有精度與基數| |$table->double('column', 15, 8);|相當于 DOUBLE 類型,總共有 15 位數,在小數點后面有 8 位數| |$table->enum('choices', array('foo', 'bar'));|相當于 ENUM 類型| |$table->float('amount');|相當于 FLOAT 類型| |$table->increments('id');|相當于 Incrementing 類型 (數據表主鍵)| |$table->integer('votes');|相當于 INTEGER 類型| |$table->json('options');|相當于 JSON 類型| |$table->jsonb('options');|JSONB equivalent to the table| |$table->longText('description');|相當于 LONGTEXT 類型| |$table->mediumInteger('numbers');|相當于 MEDIUMINT 類型| |$table->mediumText('description');|相當于 MEDIUMTEXT 類型| |$table->morphs('taggable');|加入整數 taggable_id 與字串 taggable_type| |$table->nullableTimestamps();|與 timestamps() 相同,但允許 NULL| |$table->smallInteger('votes');|相當于 SMALLINT 類型| |$table->tinyInteger('numbers');|相當于 TINYINT 類型| |$table->softDeletes();|加入 deleted_at 字段于軟刪除使用| |$table->string('email');|相當于 VARCHAR 類型| |$table->string('name', 100);|相當于 VARCHAR 類型,并指定長度| |$table->text('description');|相當于 TEXT 類型| |$table->time('sunrise');|相當于 TIME 類型| |$table->timestamp('added_on');|相當于 TIMESTAMP 類型| |$table->timestamps();|加入 created_at 和 updated_at 字段| |$table->rememberToken();|加入 remember_token 使用 VARCHAR(100) NULL| |->nullable()|標示此字段允許 NULL| |->default($value)|聲明此字段的默認值| |->unsigned()|配置整數是無分正負| ## 在 MySQL 使用 After 方法 若您使用 MySQL 數據庫,您可以使用 after 方法來指定字段的順序: ~~~ $table->string('name')->after('email'); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看