1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- use Illuminate\Support\Facades\Schema;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
- class CreateMembersProjectTable extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('members_project', function (Blueprint $table) {
- $table->increments('id');
- $table->integer('uid')->length(10)->nullable();
- $table->string('link_man')->length(100)->nullable();
- $table->string('link_phone')->length(50)->nullable();
- $table->string('link_email')->length(100)->nullable();
- $table->string('link_address')->length(255)->nullable();
- $table->string('project_title')->length(255)->nullable();
- $table->text('project_intro')->nullable();
- $table->text('project_info')->nullable();
- $table->text('project_help')->nullable();
- $table->text('project_audit')->nullable();
- $table->timestamps();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::dropIfExists('members_project');
- }
- }
|