From 70c28fceeb0c2aa67d09b2a8fac4fbbe5da7f2fe Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 29 Jan 2024 08:24:21 +0100 Subject: [PATCH] fix: change env variable length --- ...1_29_072322_change_env_variable_length.php | 28 ++++ thunder-tests/thunderActivity.json | 1 - thunder-tests/thunderCollection.json | 17 -- thunder-tests/thunderEnvironment.json | 29 ---- thunder-tests/thunderclient.json | 146 ------------------ 5 files changed, 28 insertions(+), 193 deletions(-) create mode 100644 database/migrations/2024_01_29_072322_change_env_variable_length.php delete mode 100644 thunder-tests/thunderActivity.json delete mode 100644 thunder-tests/thunderCollection.json delete mode 100644 thunder-tests/thunderEnvironment.json delete mode 100644 thunder-tests/thunderclient.json diff --git a/database/migrations/2024_01_29_072322_change_env_variable_length.php b/database/migrations/2024_01_29_072322_change_env_variable_length.php new file mode 100644 index 000000000..65194954f --- /dev/null +++ b/database/migrations/2024_01_29_072322_change_env_variable_length.php @@ -0,0 +1,28 @@ +text('value')->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('shared_environment_variables', function (Blueprint $table) { + $table->string('value')->change(); + }); + } +}; diff --git a/thunder-tests/thunderActivity.json b/thunder-tests/thunderActivity.json deleted file mode 100644 index 0637a088a..000000000 --- a/thunder-tests/thunderActivity.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/thunder-tests/thunderCollection.json b/thunder-tests/thunderCollection.json deleted file mode 100644 index fbb15d33a..000000000 --- a/thunder-tests/thunderCollection.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "_id": "e6458286-eef1-401c-be84-860b111d66f0", - "colName": "Webhooks", - "created": "2023-05-09T11:45:36.504Z", - "sortNum": 10000, - "folders": [ - { - "_id": "b8cfd093-5467-44a2-9221-ad0207717310", - "name": "GitHub", - "containerId": "", - "created": "2023-05-09T11:45:40.630Z", - "sortNum": 10000 - } - ] - } -] \ No newline at end of file diff --git a/thunder-tests/thunderEnvironment.json b/thunder-tests/thunderEnvironment.json deleted file mode 100644 index 5ae55d572..000000000 --- a/thunder-tests/thunderEnvironment.json +++ /dev/null @@ -1,29 +0,0 @@ -[ - { - "_id": "e3fbfa6d-da5a-422c-95c5-904c27da8e5a", - "name": "(Global Env)", - "default": false, - "global": true, - "sortNum": -2, - "created": "2023-05-31T08:28:50.859Z", - "modified": "2023-05-31T08:28:50.859Z", - "data": [ - { - "name": "repository_id", - "value": "603035348" - }, - { - "name": "repository_ref", - "value": "nodejs-fastify" - }, - { - "name": "repository_name", - "value": "coollabsio/coolify-examples" - }, - { - "name": "repository_ref_pr", - "value": "nodejs-fastify-pr" - } - ] - } -] \ No newline at end of file diff --git a/thunder-tests/thunderclient.json b/thunder-tests/thunderclient.json deleted file mode 100644 index b62a85c29..000000000 --- a/thunder-tests/thunderclient.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "_id": "b3d379ab-e5e4-4ba4-991d-b6c8c6bbcb98", - "colId": "e6458286-eef1-401c-be84-860b111d66f0", - "containerId": "b8cfd093-5467-44a2-9221-ad0207717310", - "name": "Public Push", - "url": "http://localhost:8000/webhooks/source/github/events", - "method": "POST", - "sortNum": 10000, - "created": "2023-05-09T11:45:50.227Z", - "modified": "2023-05-09T12:22:27.192Z", - "headers": [ - { - "name": "X-GitHub-Delivery", - "value": "9b4bc300-ee63-11ed-9133-5f71dd83487d" - }, - { - "name": "X-GitHub-Event", - "value": "push" - }, - { - "name": "X-GitHub-Hook-ID", - "value": "400873078" - }, - { - "name": "X-GitHub-Hook-Installation-Target-ID", - "value": "292941" - }, - { - "name": "X-GitHub-Hook-Installation-Target-Type", - "value": "integration" - }, - { - "name": "X-Hub-Signature-256", - "value": "sha256=d5c8d05cc6de14422ab3661d37ec4b98e71f4fdd63d1116f5dedfcb0213ee03d" - }, - { - "name": "Content-Type", - "value": "application/json" - } - ], - "params": [], - "body": { - "type": "json", - "raw": "{\n \"ref\": \"{{repository_ref}}\",\n \"repository\": {\n \"id\": \"{{repository_id}}\",\n \"full_name\": \"{{repository_name}}\"\n }\n}", - "form": [] - }, - "tests": [] - }, - { - "_id": "b5386afc-ad91-428f-88ac-0f449c5c26fd", - "colId": "e6458286-eef1-401c-be84-860b111d66f0", - "containerId": "b8cfd093-5467-44a2-9221-ad0207717310", - "name": "Public PR - Opened", - "url": "http://localhost:8000/webhooks/source/github/events", - "method": "POST", - "sortNum": 20000, - "created": "2023-05-31T08:23:28.904Z", - "modified": "2023-06-13T14:11:50.286Z", - "headers": [ - { - "name": "X-GitHub-Delivery", - "value": "e4c43c10-09cf-11ee-8879-0a481c473173" - }, - { - "name": "X-GitHub-Event", - "value": "pull_request" - }, - { - "name": "X-GitHub-Hook-ID", - "value": "400873078" - }, - { - "name": "X-GitHub-Hook-Installation-Target-ID", - "value": "292941" - }, - { - "name": "X-GitHub-Hook-Installation-Target-Type", - "value": "integration" - }, - { - "name": "X-Hub-Signature-256", - "value": "sha256=d02e35ae379a528076710322fcf9386b23bc14d61fd671259ae1d9d20488b36f" - }, - { - "name": "Content-Type", - "value": "application/json" - } - ], - "params": [], - "body": { - "type": "json", - "raw": "{\r\n \"action\": \"opened\",\r\n \"number\": 1,\r\n \"pull_request\": {\r\n \"html_url\": \"https://github.com/{{repository_name}}/pull/1\",\r\n \"head\": {\r\n \"ref\":\"{{repository_ref_pr}}\"\r\n },\r\n \"base\": {\r\n \"ref\":\"{{repository_ref}}\"\r\n }\r\n },\r\n \"repository\": {\r\n \"id\": \"{{repository_id}}\",\r\n \"full_name\": \"{{repository_name}}\"\r\n }\r\n}", - "form": [] - }, - "tests": [] - }, - { - "_id": "7e7a3abd-dc01-454f-aa80-eaeb2c18aa56", - "colId": "e6458286-eef1-401c-be84-860b111d66f0", - "containerId": "b8cfd093-5467-44a2-9221-ad0207717310", - "name": "Public PR - Closed", - "url": "http://localhost:8000/webhooks/source/github/events", - "method": "POST", - "sortNum": 30000, - "created": "2023-05-31T09:15:15.833Z", - "modified": "2023-06-13T08:34:27.203Z", - "headers": [ - { - "name": "X-GitHub-Delivery", - "value": "9b4bc300-ee63-11ed-9133-5f71dd83487d" - }, - { - "name": "X-GitHub-Event", - "value": "pull_request" - }, - { - "name": "X-GitHub-Hook-ID", - "value": "400873078" - }, - { - "name": "X-GitHub-Hook-Installation-Target-ID", - "value": "292941" - }, - { - "name": "X-GitHub-Hook-Installation-Target-Type", - "value": "integration" - }, - { - "name": "X-Hub-Signature-256", - "value": "sha256=d5c8d05cc6de14422ab3661d37ec4b98e71f4fdd63d1116f5dedfcb0213ee03d" - }, - { - "name": "Content-Type", - "value": "application/json" - } - ], - "params": [], - "body": { - "type": "json", - "raw": "{\n \"action\": \"closed\",\n \"number\": 1,\n \"pull_request\": {\n \"html_url\": \"https://github.com/{{repository_name}}/pull/1\",\n \"head\": {\n \"ref\":\"{{repository_ref_pr}}\"\n },\n \"base\": {\n \"ref\":\"{{repository_ref}}\"\n }\n },\n \"repository\": {\n \"id\": \"{{repository_id}}\",\n \"full_name\": \"{{repository_name}}\"\n }\n}", - "form": [] - }, - "tests": [] - } -] \ No newline at end of file