Skip to content

Commit 7f1d40e

Browse files
committed
Fullfill the styleci test
1 parent 986eef7 commit 7f1d40e

6 files changed

+33
-33
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ DB_HOST=topsy.db.elephantsql.com
253253
DB_PORT=5432
254254
DB_DATABASE=oktetra
255255
DB_USERNAME=oktetra
256-
DB_PASSWORD=eO6nu-Ft1GPMaHDQPjoqN
256+
DB_PASSWORD=the-postgresql-password
257257
```
258258

259259
## License

src/database/migrations/2019_08_16_075501_create_cms_pages_table.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,40 @@ public function up()
2121
{
2222
Schema::create($this->table_name, function (Blueprint $table) {
2323
$table->increments('id');
24-
$table->bigInteger('user_id')->unsigned()->nullable()->index($this->table_name . 'user_id');
25-
$table->integer('parent_id')->unsigned()->nullable()->index($this->table_name . 'parent_id');
24+
$table->bigInteger('user_id')->unsigned()->nullable()->index($this->table_name.'user_id');
25+
$table->integer('parent_id')->unsigned()->nullable()->index($this->table_name.'parent_id');
2626
$table->boolean('menu_enabled')->nullable()->default(0);
27-
$table->string('status', 190)->nullable()->index($this->table_name . 'status');
27+
$table->string('status', 190)->nullable()->index($this->table_name.'status');
2828
$table->string('title', 190)->nullable();
2929
$table->string('menu_title', 190)->nullable();
30-
$table->string('slug', 190)->nullable()->index($this->table_name . 'slug');
30+
$table->string('slug', 190)->nullable()->index($this->table_name.'slug');
3131
$table->string('template_file', 190)->nullable();
3232
$table->string('meta_title', 190)->nullable();
3333
$table->string('meta_keywords', 190)->nullable();
3434
$table->text('meta_description', 65535)->nullable();
3535
$table->text('abstract', 65535)->nullable();
36-
$table->integer('main_banner')->unsigned()->nullable()->index($this->table_name . 'main_banner');
37-
$table->integer('main_image')->unsigned()->nullable()->index($this->table_name . 'main_image');
36+
$table->integer('main_banner')->unsigned()->nullable()->index($this->table_name.'main_banner');
37+
$table->integer('main_image')->unsigned()->nullable()->index($this->table_name.'main_image');
3838
$table->text('sub_content', 65535)->nullable();
3939
$table->text('main_content', 65535)->nullable();
40-
$table->smallInteger('sort_value')->unsigned()->nullable()->index($this->table_name . 'sort_value');
41-
$table->integer('view_counts')->unsigned()->nullable()->index($this->table_name . 'view_counts');
40+
$table->smallInteger('sort_value')->unsigned()->nullable()->index($this->table_name.'sort_value');
41+
$table->integer('view_counts')->unsigned()->nullable()->index($this->table_name.'view_counts');
4242
$table->string('tags', 190)->nullable();
43-
$table->integer('extra_image_1')->unsigned()->nullable()->index($this->table_name . 'extra_image');
43+
$table->integer('extra_image_1')->unsigned()->nullable()->index($this->table_name.'extra_image');
4444
$table->text('extra_text_1', 65535)->nullable();
4545
$table->text('extra_content_1', 65535)->nullable();
46-
$table->integer('extra_image_2')->unsigned()->nullable()->index($this->table_name . 'extra_image_2');
46+
$table->integer('extra_image_2')->unsigned()->nullable()->index($this->table_name.'extra_image_2');
4747
$table->text('extra_text_2', 65535)->nullable();
4848
$table->text('extra_content_2', 65535)->nullable();
4949

50-
$table->integer('extra_image_3')->unsigned()->nullable()->index($this->table_name . 'extra_image_3');
50+
$table->integer('extra_image_3')->unsigned()->nullable()->index($this->table_name.'extra_image_3');
5151
$table->text('extra_text_3', 65535)->nullable();
5252
$table->text('extra_content_3', 65535)->nullable();
5353
$table->text('special_text', 65535)->nullable();
5454

5555
$table->text('file_data', 65535)->nullable();
5656
$table->string('redirect_url', 190)->nullable();
57-
$table->softDeletes()->index($this->table_name . 'deleted_at');
57+
$table->softDeletes()->index($this->table_name.'deleted_at');
5858
$table->timestamps();
5959
});
6060
}

src/database/migrations/2019_08_16_075502_create_cms_files_table.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ public function up()
2121
{
2222
Schema::create($this->table_name, function (Blueprint $table) {
2323
$table->increments('id');
24-
$table->bigInteger('user_id')->unsigned()->nullable()->index($this->table_name . 'user_id');
24+
$table->bigInteger('user_id')->unsigned()->nullable()->index($this->table_name.'user_id');
2525
$table->string('title', 190)->nullable();
2626
$table->text('description', 65535)->nullable();
2727
$table->string('suffix', 190)->nullable();
2828
$table->string('path', 190)->nullable();
2929
$table->string('filename', 190)->nullable();
30-
$table->string('mimetype', 190)->nullable()->index($this->table_name . 'filetype');
31-
$table->boolean('is_image')->nullable()->index($this->table_name . 'is_image');
32-
$table->boolean('is_video')->nullable()->index($this->table_name . 'is_video');
30+
$table->string('mimetype', 190)->nullable()->index($this->table_name.'filetype');
31+
$table->boolean('is_image')->nullable()->index($this->table_name.'is_image');
32+
$table->boolean('is_video')->nullable()->index($this->table_name.'is_video');
3333
$table->bigInteger('filesize')->unsigned()->nullable();
34-
$table->string('filehash', 190)->nullable()->index($this->table_name . 'filehash');
34+
$table->string('filehash', 190)->nullable()->index($this->table_name.'filehash');
3535
$table->string('url', 190)->nullable();
3636
$table->timestamps();
37-
$table->softDeletes()->index($this->table_name . 'deleted_at');
37+
$table->softDeletes()->index($this->table_name.'deleted_at');
3838
});
3939
}
4040

src/database/migrations/2019_09_11_114204_create_cms_inquiries_table.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public function up()
2121
{
2222
Schema::create($this->table_name, function (Blueprint $table) {
2323
$table->increments('id');
24-
$table->integer('parent_id')->unsigned()->nullable()->index($this->table_name . 'parent_id');
25-
$table->integer('page_id')->unsigned()->nullable()->index($this->table_name . 'page_id');
24+
$table->integer('parent_id')->unsigned()->nullable()->index($this->table_name.'parent_id');
25+
$table->integer('page_id')->unsigned()->nullable()->index($this->table_name.'page_id');
2626
$table->timestamps();
2727
$table->string('first_name', 190)->nullable();
2828
$table->string('last_name', 190)->nullable();
@@ -47,13 +47,13 @@ public function up()
4747
$table->string('page_url', 190)->nullable();
4848
$table->text('admin_comment', 16777215)->nullable();
4949
$table->enum('status', ['New', 'Opened', 'Answered', 'Spam', 'Archived', 'Display'])->nullable()->default('New');
50-
$table->boolean('sort_value')->default(0)->index($this->table_name . 'Sort');
50+
$table->boolean('sort_value')->default(0)->index($this->table_name.'Sort');
5151
$table->text('extra_data_1', 16777215)->nullable();
5252
$table->text('extra_data_2', 16777215)->nullable();
5353
$table->text('extra_data_3', 16777215)->nullable();
5454
$table->text('extra_data_4', 16777215)->nullable();
5555
$table->text('extra_data_5', 16777215)->nullable();
56-
$table->softDeletes()->index($this->table_name . 'deleted_at');
56+
$table->softDeletes()->index($this->table_name.'deleted_at');
5757
});
5858
}
5959

src/database/migrations/2019_09_11_114204_create_cms_inquiry_settings_table.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function up()
2222
Schema::create($this->table_name, function (Blueprint $table) {
2323
$table->integer('id', true);
2424
$table->string('form_layout')->nullable();
25-
$table->integer('page_id')->unsigned()->nullable()->index($this->table_name . 'page_id');
25+
$table->integer('page_id')->unsigned()->nullable()->index($this->table_name.'page_id');
2626
$table->integer('default_setting_id')->unsigned()->nullable();
2727
$table->string('form_layout_filename')->nullable();
2828
$table->text('display_form_fields', 16777215)->nullable();
@@ -35,10 +35,10 @@ public function up()
3535
$table->text('google_recaptcha_secret_key', 16777215)->nullable();
3636
$table->string('google_recaptcha_css_class')->nullable();
3737
$table->string('google_recaptcha_no_tick_msg')->nullable();
38-
$table->boolean('google_recaptcha_enabled')->default(0)->nullable()->index($this->table_name . 'google_recaptcha_enabled');
39-
$table->boolean('form_enabled')->default(0)->nullable()->index($this->table_name . 'form_enabled');
38+
$table->boolean('google_recaptcha_enabled')->default(0)->nullable()->index($this->table_name.'google_recaptcha_enabled');
39+
$table->boolean('form_enabled')->default(0)->nullable()->index($this->table_name.'form_enabled');
4040
$table->timestamps();
41-
$table->softDeletes()->index($this->table_name . 'deleted_at');
41+
$table->softDeletes()->index($this->table_name.'deleted_at');
4242
});
4343
}
4444

src/database/migrations/2019_09_11_114204_create_cms_settings_table.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ public function up()
2121
{
2222
Schema::create($this->table_name, function (Blueprint $table) {
2323
$table->integer('id', true);
24-
$table->string('param_name', 190)->nullable()->index($this->table_name . 'param_name');
25-
$table->integer('page_id')->unsigned()->nullable()->index($this->table_name . 'page_id');
24+
$table->string('param_name', 190)->nullable()->index($this->table_name.'param_name');
25+
$table->integer('page_id')->unsigned()->nullable()->index($this->table_name.'page_id');
2626
$table->text('param_value', 65535)->nullable();
2727
$table->text('input_attribute', 65535)->nullable();
2828
$table->text('abstract', 65535)->nullable();
29-
$table->string('category', 190)->nullable()->index($this->table_name . 'category');
30-
$table->boolean('enabled')->default(0)->index($this->table_name . 'form_enabled');
31-
$table->smallInteger('sort_value')->nullable()->index($this->table_name . 'sort_value');
29+
$table->string('category', 190)->nullable()->index($this->table_name.'category');
30+
$table->boolean('enabled')->default(0)->index($this->table_name.'form_enabled');
31+
$table->smallInteger('sort_value')->nullable()->index($this->table_name.'sort_value');
3232
$table->timestamps();
33-
$table->softDeletes()->index($this->table_name . 'deleted_at');
33+
$table->softDeletes()->index($this->table_name.'deleted_at');
3434
});
3535
}
3636

0 commit comments

Comments
 (0)