1.4 upgrade script

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 anni tempo fa
So I'm trying to do a manual upgrade to 1.4 from 1.3 and have run into some issues with the upgrade script.

IF EXISTS (
    SELECT 1 FROM syscolumns WHERE id=object_id('[dbo].[Nop_ProductVariant]') and NAME='RequiresTextOption')
BEGIN
  ALTER TABLE [dbo].[Nop_ProductVariant]
  DROP COLUMN RequiresTextOption
END
GO

IF EXISTS (
    SELECT 1 FROM syscolumns WHERE id=object_id('[dbo].[Nop_ProductVariant]') and NAME='TextOptionPrompt')
BEGIN
  ALTER TABLE [dbo].[Nop_ProductVariant]
  DROP COLUMN TextOptionPrompt
END
GO

But further up the script these columns are referenced in the Nop_ProductVariantInsert and Nop_ProductVariantUpdate sprocs...

    INSERT
    INTO [Nop_ProductVariant]
    (
     ...
        RequiresTextOption,
     ...

  UPDATE [Nop_ProductVariant]
  SET
                ...
    RequiresTextOption=@RequiresTextOption,
                ...


WTH??
14 anni tempo fa
This seems to be all kinds of sprocs in the upgrade script... how has anyone upgraded successfully??
14 anni tempo fa
The SPs "Nop_ProductVariantInsert" and "Nop_ProductVariantUpdate" are redefined at the end of the (1.30 -> 1.40) script "nopCommerce_upgrade.sql" without references to the "RequiresTextOption" and "TextOptionPrompt" fields.

.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.