@@ -13,10 +13,10 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_accounts', function (Blueprint $table) { |
|
16 | + Schema::create('fg_accounts', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 150)->primary(); |
18 | 18 | $table->string('ministry_id', 150)->index(); |
19 | - $table->enum('level', ['Free', 'Premium', 'PremiumPlus'])->default('Free'); |
|
19 | + $table->enum('level', [ 'Free', 'Premium', 'PremiumPlus' ])->default('Free'); |
|
20 | 20 | $table->dateTime('expiry_date')->default(now()); |
21 | 21 | $table->timestamps(); |
22 | 22 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_users', function (Blueprint $table) { |
|
16 | + Schema::create('fg_users', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 150)->primary(); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('email', 150)->nullable(); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function up() |
16 | 16 | { |
17 | - Schema::create('fg_reviews', function (Blueprint $table) { |
|
17 | + Schema::create('fg_reviews', function(Blueprint $table) { |
|
18 | 18 | $table->string('id')->index(); |
19 | 19 | $table->string('ministry_id', 150)->index(); |
20 | 20 | $table->enum('type', Helper::$reviewTypes); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_a_p_i_keys', function (Blueprint $table) { |
|
16 | + Schema::create('fg_a_p_i_keys', function(Blueprint $table) { |
|
17 | 17 | $table->string('id'); |
18 | 18 | $table->string('ministry_id', 150)->unique()->index(); |
19 | 19 | $table->string('api_key')->unique(); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function up() |
16 | 16 | { |
17 | - Schema::create('fg_daily_services', function (Blueprint $table) { |
|
17 | + Schema::create('fg_daily_services', function(Blueprint $table) { |
|
18 | 18 | $table->string('id')->index(); |
19 | 19 | $table->string('ministry_id', 150)->index(); |
20 | 20 | $table->enum('day', Helper::$weekDays); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_ministry_users', function (Blueprint $table) { |
|
16 | + Schema::create('fg_ministry_users', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 150)->primary(); |
18 | 18 | $table->string('ministry_id', 150)->index(); |
19 | 19 | $table->string('user_id', 150)->index(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_activations', function (Blueprint $table) { |
|
16 | + Schema::create('fg_activations', function(Blueprint $table) { |
|
17 | 17 | $table->string('id')->index(); |
18 | 18 | $table->string('ministry_id', 150)->unique()->index(); |
19 | 19 | $table->string('code')->unique(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_profiles', function (Blueprint $table) { |
|
16 | + Schema::create('fg_profiles', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 150)->primary(); |
18 | 18 | $table->string('ministry_id', 150)->index(); |
19 | 19 | $table->text('about_us')->nullable(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('fg_comments', function (Blueprint $table) { |
|
16 | + Schema::create('fg_comments', function(Blueprint $table) { |
|
17 | 17 | $table->string('id', 150); |
18 | 18 | $table->string('creatable_id', 150)->index(); |
19 | 19 | $table->string('creatable_type'); |