Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Feat: del init script

ayntk-ai3d1c73070336
diff --git a/resources/views/livewire/project/database/init-script.blade.php b/resources/views/livewire/project/database/init-script.blade.php
index 41584c633d..e72b13fa92 100644
--- a/resources/views/livewire/project/database/init-script.blade.php
+++ b/resources/views/livewire/project/database/init-script.blade.php
@@ -2,13 +2,14 @@
<div class="flex items-end gap-2">
<x-forms.input id="filename" label="Filename" />
<x-forms.button type="submit">Save</x-forms.button>
- <x-modal-confirmation
- isErrorButton
+ <x-modal-confirmation
title="Confirm init-script deletion?"
buttonTitle="Delete"
+ isErrorButton
submitAction="delete"
:actions="[
- 'The init-script of this database will be permanently deleted.'
+ 'The init-script of this database will be permanently deleted.',
+ 'If you are actively using this init-script, it could cause errors on redeployments.'
]"
confirmationText="{{ $filename }}"
confirmationLabel="Please confirm the execution of the actions by entering the init-script name below"