From 35fb6f8d128bfc0c427c6bd01e3a3de56f1c082b Mon Sep 17 00:00:00 2001 From: Ariunbold Boldbaatar Date: Sun, 21 Mar 2021 00:37:55 +0800 Subject: [PATCH 1/2] composer.json, package.json & config/lambda.php files updated. --- composer.json | 7 ++++--- config/lambda.php | 3 +++ .../2021_03_02_112708_create_lambda_setup_tables.php | 2 +- package.json | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index b1aa5af..4fa3775 100644 --- a/composer.json +++ b/composer.json @@ -16,15 +16,16 @@ "guzzlehttp/guzzle": "^7.0.1", "laravel/framework": "^8.12", "laravel/tinker": "^2.5", + "intervention/image": "^2.5.1", "tymon/jwt-auth": "^1.0", - "lambda-platform/dataform": "^0.0.6", + "lambda-platform/dataform": "^0.0.7", "lambda-platform/agent": "^0.0.2", "lambda-platform/datagrid": "^0.0.2", "lambda-platform/datasource": "^0.0.2", "lambda-platform/krud": "^0.0.2", "lambda-platform/moqup": "^0.0.2", - "lambda-platform/puzzle": "^0.0.3", - "lambda-platform/template-paper": "^0.0.2" + "lambda-platform/puzzle": "^0.0.5", + "lambda-platform/template-paper": "^0.0.3" }, "require-dev": { "facade/ignition": "^2.5", diff --git a/config/lambda.php b/config/lambda.php index d918a19..0830b9d 100644 --- a/config/lambda.php +++ b/config/lambda.php @@ -13,6 +13,9 @@ 'super_url' => '/lambda/puzzle', 'app_url' => '/lambda', 'has_language' => false, + 'img_width' => 'null', // etc: '1920', '800', 'null' + 'img_thumb_width' => 'null', // etc: '350', '250', 'null' + 'img_quality' => 'null', // etc: '90', '75', 'null' 'languages' => [ ['label' => "Moнгол", 'code' => 'mn'] ], diff --git a/database/migrations/2021_03_02_112708_create_lambda_setup_tables.php b/database/migrations/2021_03_02_112708_create_lambda_setup_tables.php index e431bd4..24957bd 100644 --- a/database/migrations/2021_03_02_112708_create_lambda_setup_tables.php +++ b/database/migrations/2021_03_02_112708_create_lambda_setup_tables.php @@ -52,7 +52,7 @@ public function up() $table->string('phone', 80)->nullable($value = true); $table->string('gender', 255)->nullable($value = true); $table->string('fcm_token', 255)->nullable($value = true); - $table->string('status', 255); + $table->string('status', 255)->nullable($value = true); $table->rememberToken(); $table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $table->timestamp('updated_at')->useCurrent()->useCurrentOnUpdate(); diff --git a/package.json b/package.json index fbeffb2..dfcf186 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@lambda-platform/agent": "^2.0.0", "@lambda-platform/chart": "^1.0.0", - "@lambda-platform/dataform": "^2.0.1", + "@lambda-platform/dataform": "^2.0.2", "@lambda-platform/datagrid": "^2.0.0", "@lambda-platform/datasource": "^2.0.2", "@lambda-platform/krud": "^1.0.0", From 79d5a8b5400f478fd303d28d4aeb6780b0a69afa Mon Sep 17 00:00:00 2001 From: Ariunbold Boldbaatar Date: Sun, 21 Mar 2021 00:41:35 +0800 Subject: [PATCH 2/2] composer.json, package.json & config/lambda.php files updated. --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 4fa3775..8e0d3ba 100644 --- a/composer.json +++ b/composer.json @@ -10,22 +10,22 @@ ], "license": "MIT", "require": { - "php": "^7.3|^8.0", "fideloper/proxy": "^4.4", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", - "laravel/framework": "^8.12", - "laravel/tinker": "^2.5", "intervention/image": "^2.5.1", - "tymon/jwt-auth": "^1.0", - "lambda-platform/dataform": "^0.0.7", "lambda-platform/agent": "^0.0.2", + "lambda-platform/dataform": "^0.0.7", "lambda-platform/datagrid": "^0.0.2", "lambda-platform/datasource": "^0.0.2", "lambda-platform/krud": "^0.0.2", "lambda-platform/moqup": "^0.0.2", "lambda-platform/puzzle": "^0.0.5", - "lambda-platform/template-paper": "^0.0.3" + "lambda-platform/template-paper": "^0.0.3", + "laravel/framework": "^8.12", + "laravel/tinker": "^2.5", + "php": "^7.3|^8.0", + "tymon/jwt-auth": "^1.0" }, "require-dev": { "facade/ignition": "^2.5",