Skip to content

Instantly share code, notes, and snippets.

View diazwatson's full-sized avatar

Raul Watson diazwatson

View GitHub Profile
@diazwatson
diazwatson / build_adobe_stock.sh
Created October 27, 2019 11:09
A bash script to setup adobe stock
#!/bin/bash
PROJECTS_DIR=Sites
[email protected]:magento/magento2.git
[email protected]:diazwatson/magento2.git
[email protected]:magento/adobe-stock-integration.git
[email protected]:diazwatson/adobe-stock-integration.git
ADMIN_USER=USERNAME
ADMIN_PASS=PASSWORD
@diazwatson
diazwatson / magento2-clear.sql
Created March 12, 2020 23:42 — forked from sergiojovanig/magento2-clear.sql
Magento 2 Clear Database
##########################################################
# PRODUCTS
##########################################################
DELETE FROM `catalog_product_bundle_option`;
DELETE FROM `catalog_product_bundle_option_value`;
DELETE FROM `catalog_product_bundle_selection`;
DELETE FROM `catalog_product_entity_datetime`;
DELETE FROM `catalog_product_entity_decimal`;
DELETE FROM `catalog_product_entity_gallery`;
DELETE FROM `catalog_product_entity_int`;