Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use Illuminate\Support\Facades\Schema;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
- class CreateMManagedPropertyInquiriesTable extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('m_managed_property_inquiries', function (Blueprint $table) {
- $table->increments('id');
- $table->timestamps();
- $table->tinyInteger('deleted')->comment('削除フラグ')->default(0);
- $table->integer('m_managed_property_id', 5)->comment('管理物件表id')->nullable();
- $table->string('inquiry_type')->comment('内見・反響(KPI)')->nullable();
- $table->DateTime('created_at')->nullable();
- $table->DateTime('updated_at')->nullable();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::dropIfExists('m_managed_property_inquiries');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement