12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- use Illuminate\Support\Facades\Schema;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
- class AddClomeAlbumManufacturer extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::table('album_manufacturer', function (Blueprint $table) {
- //
- $table->string('xyx_id',100)->comment('小游戏ID');
- $table->string('xyx_secret',100)->comment('小游戏秘钥');
- $table->string('app_id',100)->comment('小程序ID');
- $table->string('app_secret',100)->comment('小程序秘钥');
- $table->softDeletes();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::table('album_manufacturer', function (Blueprint $table) {
- //
- });
- }
- }
|