Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    332
    Plugin Contributions
    0

    Default Uninstall SQL Patch

    I installed a mod that required a sql patch, but I need to uninstall because I have an error and I need to see if this caused it or not. But there's no uninstall patch...how would I do this? (there's also no support thread for the mod and No, I did not back up my db )

    This is the install patch:

    DROP TABLE IF EXISTS customers_basket_later;
    CREATE TABLE customers_basket_later (
    customers_basket_id int(11) NOT NULL auto_increment,
    customers_id int(11) NOT NULL default '0',
    products_id tinytext NOT NULL,
    customers_basket_quantity float NOT NULL default '0',
    final_price decimal(15,4) NOT NULL default '0.0000',
    customers_basket_date_added varchar(8) default NULL,
    PRIMARY KEY (customers_basket_id),
    KEY idx_customers_id_zen (customers_id)
    ) TYPE=MyISAM;

    # --------------------------------------------------------

    #
    # Table structure for table 'customers_basket_attributes'
    #

    DROP TABLE IF EXISTS customers_basket_later_attributes;
    CREATE TABLE customers_basket_later_attributes (
    customers_basket_attributes_id int(11) NOT NULL auto_increment,
    customers_id int(11) NOT NULL default '0',
    products_id tinytext NOT NULL,
    products_options_id varchar(64) NOT NULL default '0',
    products_options_value_id int(11) NOT NULL default '0',
    products_options_value_text BLOB NULL,
    products_options_sort_order text NOT NULL,
    PRIMARY KEY (customers_basket_attributes_id),
    KEY idx_cust_id_prod_id_zen (customers_id,products_id(36))
    ) TYPE=MyISAM;

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Uninstall SQL Patch

    DROP TABLE IF EXISTS customers_basket_later;
    DROP TABLE IF EXISTS customers_basket_later_attributes;

  3. #3
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    332
    Plugin Contributions
    0

    Default Re: Uninstall SQL Patch

    Thank you!

  4. #4
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default Uninstall SQL Patch

    I also made the same mistake and installed a mod that required a sql patch without making a backup . I want to uninstall it but there is no uninstall patch. Can anyone help please. Here is the sql patch:

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Display Product Short Descriptions', 'PRODUCT_LIST_SHORT_DESC', '3', 'Set to 0 to disable, set to 1-99 to enable.', 8, 11, now(), now(), NULL, NULL);


    ALTER TABLE products_description ADD products_short_desc VARCHAR( 255 ) DEFAULT NULL AFTER products_description ;



    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Product Info - Display Product Short Descriptions', 'PRODUCT_INFO_SHORT_DESC', '1', 'Show Product''s short Description<br />0= off<br />1= on', 18, 30, now(), now(), NULL, 'zen_cfg_select_drop_down(array(array(''id''=>''0'', ''text''=>''Off''), array(''id''=>''1'', ''text''=>''On'')),');

  5. #5
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Uninstall SQL Patch

    DELETE FROM configuration WHERE configuration_key = 'PRODUCT_LIST_SHORT_DESC';

    ALTER TABLE products_description DROP COLUMN products_short_desc;

    DELETE FROM configuration WHERE configuration_key = 'PRODUCT_INFO_SHORT_DESC';

  6. #6
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Uninstall SQL Patch

    Thank you .

  7. #7
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: Uninstall SQL Patch

    Will someone post the entire uninstall SQL patch. I don't want to make any mistakes by copying and pasting parts of the uinstall patch. Thank you so much.

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Uninstall SQL Patch

    Quote Originally Posted by greengreetings View Post
    Will someone post the entire uninstall SQL patch. I don't want to make any mistakes by copying and pasting parts of the uinstall patch. Thank you so much.
    The uninstall SQL patch for what?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v139h Upload SQL Patch via phpMyAdmin in MySQL INSTEAD OF Amin-Tools-Install AQL patch ????
    By shags38 in forum Customization from the Admin
    Replies: 11
    Last Post: 20 Aug 2012, 04:19 AM
  2. How Can I Uninstall This "show price with tax and without" SQL Patch?
    By marjankopi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 May 2011, 12:44 PM
  3. How Can I Uninstall This SQL Patch?
    By limelites in forum General Questions
    Replies: 6
    Last Post: 22 Dec 2010, 03:20 PM
  4. uninstall SQL patch that's messed up my site
    By limelites in forum General Questions
    Replies: 29
    Last Post: 21 Dec 2010, 12:52 AM
  5. How do I uninstall this SQL Patch???
    By tsav87 in forum General Questions
    Replies: 0
    Last Post: 10 Sep 2010, 01:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg