File "2013_10_08_070623_create_subscription_plans.php"

Full Path: /home/isoftco/public_html/hrm/database/migrations/2013_10_08_070623_create_subscription_plans.php
File size: 838 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSubscriptionPlans extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('subscription_plans', function (Blueprint $table) {
            $table->increments('id');
            $table->string('plan_name');
            $table->string('stripe_id');
            $table->integer('start_user_count');
            $table->integer('end_user_count');
            $table->double('price');
            $table->boolean('status')->default(1);
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('subscription_plans');
    }
}