Add some tables
This commit is contained in:
parent
4d20af5974
commit
f95d6dd010
185
migrations/20230603073510_init_down.sql~
Normal file
185
migrations/20230603073510_init_down.sql~
Normal file
@ -0,0 +1,185 @@
|
||||
ALTER TABLE "store_currencies" DROP CONSTRAINT "FK_82a6bbb0b527c20a0002ddcbd60";
|
||||
ALTER TABLE "store_currencies" DROP CONSTRAINT "FK_b4f4b63d1736689b7008980394c";
|
||||
ALTER TABLE "order_gift_cards" DROP CONSTRAINT "FK_f2bb9f71e95b315eb24b2b84cb3";
|
||||
ALTER TABLE "order_gift_cards" DROP CONSTRAINT "FK_e62ff11e4730bb3adfead979ee2";
|
||||
ALTER TABLE "order_discounts" DROP CONSTRAINT "FK_0fc1ec4e3db9001ad60c19daf16";
|
||||
ALTER TABLE "order_discounts" DROP CONSTRAINT "FK_e7b488cebe333f449398769b2cc";
|
||||
ALTER TABLE "cart_gift_cards" DROP CONSTRAINT "FK_0fb38b6d167793192bc126d835e";
|
||||
ALTER TABLE "cart_gift_cards" DROP CONSTRAINT "FK_d38047a90f3d42f0be7909e8aea";
|
||||
ALTER TABLE "cart_discounts" DROP CONSTRAINT "FK_8df75ef4f35f217768dc1135458";
|
||||
ALTER TABLE "cart_discounts" DROP CONSTRAINT "FK_6680319ebe1f46d18f106191d59";
|
||||
ALTER TABLE "discount_regions" DROP CONSTRAINT "FK_a21a7ffbe420d492eb46c305fec";
|
||||
ALTER TABLE "discount_regions" DROP CONSTRAINT "FK_f4194aa81073f3fab8aa86906ff";
|
||||
ALTER TABLE "discount_rule_products" DROP CONSTRAINT "FK_be66106a673b88a81c603abe7eb";
|
||||
ALTER TABLE "discount_rule_products" DROP CONSTRAINT "FK_4e0739e5f0244c08d41174ca08a";
|
||||
ALTER TABLE "product_images" DROP CONSTRAINT "FK_2212515ba306c79f42c46a99db7";
|
||||
ALTER TABLE "product_images" DROP CONSTRAINT "FK_4f166bb8c2bfcef2498d97b4068";
|
||||
ALTER TABLE "region_fulfillment_providers" DROP CONSTRAINT "FK_37f361c38a18d12a3fa3158d0cf";
|
||||
ALTER TABLE "region_fulfillment_providers" DROP CONSTRAINT "FK_c556e14eff4d6f03db593df955e";
|
||||
ALTER TABLE "region_payment_providers" DROP CONSTRAINT "FK_3a6947180aeec283cd92c59ebb0";
|
||||
ALTER TABLE "region_payment_providers" DROP CONSTRAINT "FK_8aaa78ba90d3802edac317df869";
|
||||
ALTER TABLE "store" DROP CONSTRAINT "FK_55beebaa09e947cccca554af222";
|
||||
ALTER TABLE "address" DROP CONSTRAINT "FK_6df8c6bf969a51d24c1980c4ff4";
|
||||
ALTER TABLE "address" DROP CONSTRAINT "FK_9c9614b2f9d01665800ea8dbff7";
|
||||
ALTER TABLE "customer" DROP CONSTRAINT "FK_8abe81b9aac151ae60bf507ad15";
|
||||
ALTER TABLE "order" DROP CONSTRAINT "FK_717a141f96b76d794d409f38129";
|
||||
ALTER TABLE "order" DROP CONSTRAINT "FK_e1fcce2b18dbcdbe0a5ba9a68b8";
|
||||
ALTER TABLE "order" DROP CONSTRAINT "FK_19b0c6293443d1b464f604c3316";
|
||||
ALTER TABLE "order" DROP CONSTRAINT "FK_5568d3b9ce9f7abeeb37511ecf2";
|
||||
ALTER TABLE "order" DROP CONSTRAINT "FK_cd7812c96209c5bdd48a6b858b0";
|
||||
ALTER TABLE "order" DROP CONSTRAINT "FK_c99a206eb11ad45f6b7f04f2dcc";
|
||||
ALTER TABLE "refund" DROP CONSTRAINT "FK_eec9d9af4ca098e19ea6b499eaa";
|
||||
ALTER TABLE "gift_card_transaction" DROP CONSTRAINT "FK_d7d441b81012f87d4265fa57d24";
|
||||
ALTER TABLE "gift_card_transaction" DROP CONSTRAINT "FK_3ff5597f1d7e02bba41541846f4";
|
||||
ALTER TABLE "line_item" DROP CONSTRAINT "FK_5371cbaa3be5200f373d24e3d5b";
|
||||
ALTER TABLE "line_item" DROP CONSTRAINT "FK_3fa354d8d1233ff81097b2fcb6b";
|
||||
ALTER TABLE "line_item" DROP CONSTRAINT "FK_43a2b24495fe1d9fc2a9c835bc7";
|
||||
ALTER TABLE "line_item" DROP CONSTRAINT "FK_27283ee631862266d0f1c680646";
|
||||
ALTER TABLE "swap" DROP CONSTRAINT "FK_402e8182bc553e082f6380020b4";
|
||||
ALTER TABLE "swap" DROP CONSTRAINT "FK_f5189d38b3d3bd496618bf54c57";
|
||||
ALTER TABLE "swap" DROP CONSTRAINT "FK_52dd74e8c989aa5665ad2852b8b";
|
||||
ALTER TABLE "return" DROP CONSTRAINT "FK_d4bd17f918fc6c332b74a368c36";
|
||||
ALTER TABLE "return" DROP CONSTRAINT "FK_bad82d7bff2b08b87094bfac3d6";
|
||||
ALTER TABLE "shipping_method" DROP CONSTRAINT "FK_fc963e94854bff2714ca84cd193";
|
||||
ALTER TABLE "shipping_method" DROP CONSTRAINT "FK_1d9ad62038998c3a85c77a53cfb";
|
||||
ALTER TABLE "shipping_method" DROP CONSTRAINT "FK_fb94fa8d5ca940daa2a58139f86";
|
||||
ALTER TABLE "shipping_method" DROP CONSTRAINT "FK_d92993a7d554d84571f4eea1d13";
|
||||
ALTER TABLE "shipping_method" DROP CONSTRAINT "FK_5267705a43d547e232535b656c2";
|
||||
ALTER TABLE "cart" DROP CONSTRAINT "FK_9d1a161434c610aae7c3df2dc7e";
|
||||
ALTER TABLE "cart" DROP CONSTRAINT "FK_242205c81c1152fab1b6e848470";
|
||||
ALTER TABLE "cart" DROP CONSTRAINT "FK_484c329f4783be4e18e5e2ff090";
|
||||
ALTER TABLE "cart" DROP CONSTRAINT "FK_ced15a9a695d2b5db9dabce763d";
|
||||
ALTER TABLE "cart" DROP CONSTRAINT "FK_6b9c66b5e36f7c827dfaa092f94";
|
||||
ALTER TABLE "gift_card" DROP CONSTRAINT "FK_dfc1f02bb0552e79076aa58dbb0";
|
||||
ALTER TABLE "gift_card" DROP CONSTRAINT "FK_b6bcf8c3903097b84e85154eed3";
|
||||
ALTER TABLE "payment" DROP CONSTRAINT "FK_f41553459a4b1491c9893ebc921";
|
||||
ALTER TABLE "payment" DROP CONSTRAINT "FK_f5221735ace059250daac9d9803";
|
||||
ALTER TABLE "payment" DROP CONSTRAINT "FK_4665f17abc1e81dd58330e58542";
|
||||
ALTER TABLE "payment" DROP CONSTRAINT "FK_c17aff091441b7c25ec3d68d36c";
|
||||
ALTER TABLE "payment_session" DROP CONSTRAINT "FK_d25ba0787e1510ddc5d442ebcfa";
|
||||
ALTER TABLE "discount" DROP CONSTRAINT "FK_2250c5d9e975987ab212f61a663";
|
||||
ALTER TABLE "discount" DROP CONSTRAINT "FK_ac2c280de3701b2d66f6817f760";
|
||||
ALTER TABLE "product" DROP CONSTRAINT "FK_80823b7ae866dc5acae2dac6d2c";
|
||||
ALTER TABLE "shipping_option" DROP CONSTRAINT "FK_a0e206bfaed3cb63c1860917347";
|
||||
ALTER TABLE "shipping_option" DROP CONSTRAINT "FK_c951439af4c98bf2bd7fb8726cd";
|
||||
ALTER TABLE "shipping_option" DROP CONSTRAINT "FK_5c58105f1752fca0f4ce69f4663";
|
||||
ALTER TABLE "shipping_option_requirement" DROP CONSTRAINT "FK_012a62ba743e427b5ebe9dee18e";
|
||||
ALTER TABLE "product_option" DROP CONSTRAINT "FK_e634fca34f6b594b87fdbee95f6";
|
||||
ALTER TABLE "product_option_value" DROP CONSTRAINT "FK_7234ed737ff4eb1b6ae6e6d7b01";
|
||||
ALTER TABLE "product_option_value" DROP CONSTRAINT "FK_cdf4388f294b30a25c627d69fe9";
|
||||
ALTER TABLE "product_variant" DROP CONSTRAINT "FK_ca67dd080aac5ecf99609960cd2";
|
||||
ALTER TABLE "money_amount" DROP CONSTRAINT "FK_b433e27b7a83e6d12ab26b15b03";
|
||||
ALTER TABLE "money_amount" DROP CONSTRAINT "FK_17a06d728e4cfbc5bd2ddb70af0";
|
||||
ALTER TABLE "money_amount" DROP CONSTRAINT "FK_e15811f81339e4bd8c440aebe1c";
|
||||
ALTER TABLE "region" DROP CONSTRAINT "FK_3bdd5896ec93be2f1c62a3309a5";
|
||||
ALTER TABLE "country" DROP CONSTRAINT "FK_b1aac8314662fa6b25569a575bb";
|
||||
ALTER TABLE "return_item" DROP CONSTRAINT "FK_87774591f44564effd8039d7162";
|
||||
ALTER TABLE "return_item" DROP CONSTRAINT "FK_7edab75b4fc88ea6d4f2574f087";
|
||||
ALTER TABLE "fulfillment" DROP CONSTRAINT "FK_beb35a6de60a6c4f91d5ae57e44";
|
||||
ALTER TABLE "fulfillment" DROP CONSTRAINT "FK_f129acc85e346a10eed12b86fca";
|
||||
ALTER TABLE "fulfillment" DROP CONSTRAINT "FK_a52e234f729db789cf473297a5c";
|
||||
ALTER TABLE "fulfillment_item" DROP CONSTRAINT "FK_e13ff60e74206b747a1896212d1";
|
||||
ALTER TABLE "fulfillment_item" DROP CONSTRAINT "FK_a033f83cc6bd7701a5687ab4b38";
|
||||
DROP INDEX "IDX_82a6bbb0b527c20a0002ddcbd6";
|
||||
DROP INDEX "IDX_b4f4b63d1736689b7008980394";
|
||||
DROP TABLE "store_currencies";
|
||||
DROP INDEX "IDX_f2bb9f71e95b315eb24b2b84cb";
|
||||
DROP INDEX "IDX_e62ff11e4730bb3adfead979ee";
|
||||
DROP TABLE "order_gift_cards";
|
||||
DROP INDEX "IDX_0fc1ec4e3db9001ad60c19daf1";
|
||||
DROP INDEX "IDX_e7b488cebe333f449398769b2c";
|
||||
DROP TABLE "order_discounts";
|
||||
DROP INDEX "IDX_0fb38b6d167793192bc126d835";
|
||||
DROP INDEX "IDX_d38047a90f3d42f0be7909e8ae";
|
||||
DROP TABLE "cart_gift_cards";
|
||||
DROP INDEX "IDX_8df75ef4f35f217768dc113545";
|
||||
DROP INDEX "IDX_6680319ebe1f46d18f106191d5";
|
||||
DROP TABLE "cart_discounts";
|
||||
DROP INDEX "IDX_a21a7ffbe420d492eb46c305fe";
|
||||
DROP INDEX "IDX_f4194aa81073f3fab8aa86906f";
|
||||
DROP TABLE "discount_regions";
|
||||
DROP INDEX "IDX_be66106a673b88a81c603abe7e";
|
||||
DROP INDEX "IDX_4e0739e5f0244c08d41174ca08";
|
||||
DROP TABLE "discount_rule_products";
|
||||
DROP INDEX "IDX_2212515ba306c79f42c46a99db";
|
||||
DROP INDEX "IDX_4f166bb8c2bfcef2498d97b406";
|
||||
DROP TABLE "product_images";
|
||||
DROP INDEX "IDX_37f361c38a18d12a3fa3158d0c";
|
||||
DROP INDEX "IDX_c556e14eff4d6f03db593df955";
|
||||
DROP TABLE "region_fulfillment_providers";
|
||||
DROP INDEX "IDX_3a6947180aeec283cd92c59ebb";
|
||||
DROP INDEX "IDX_8aaa78ba90d3802edac317df86";
|
||||
DROP TABLE "region_payment_providers";
|
||||
DROP INDEX "IDX_e12875dfb3b1d92d7d7c5377e2";
|
||||
DROP TABLE "user";
|
||||
DROP TABLE "store";
|
||||
DROP TABLE "staged_job";
|
||||
DROP INDEX "IDX_c49c061b1a686843c5d673506f";
|
||||
DROP TABLE "oauth";
|
||||
DROP INDEX "IDX_a421bf4588d0004a9b0c0fe84f";
|
||||
DROP TABLE "idempotency_key";
|
||||
DROP TABLE "address";
|
||||
DROP INDEX "IDX_fdb2f3ad8115da4c7718109a6e";
|
||||
DROP TABLE "customer";
|
||||
DROP TABLE "order";
|
||||
DROP TYPE "order_payment_status_enum";
|
||||
DROP TYPE "order_fulfillment_status_enum";
|
||||
DROP TYPE "order_status_enum";
|
||||
DROP TABLE "refund";
|
||||
DROP TYPE "refund_reason_enum";
|
||||
DROP TABLE "gift_card_transaction";
|
||||
DROP INDEX "IDX_5371cbaa3be5200f373d24e3d5";
|
||||
DROP INDEX "IDX_3fa354d8d1233ff81097b2fcb6";
|
||||
DROP INDEX "IDX_43a2b24495fe1d9fc2a9c835bc";
|
||||
DROP INDEX "IDX_27283ee631862266d0f1c68064";
|
||||
DROP TABLE "line_item";
|
||||
DROP TABLE "swap";
|
||||
DROP TYPE "swap_payment_status_enum";
|
||||
DROP TYPE "swap_fulfillment_status_enum";
|
||||
DROP TABLE "return";
|
||||
DROP TYPE "return_status_enum";
|
||||
DROP INDEX "IDX_1d9ad62038998c3a85c77a53cf";
|
||||
DROP INDEX "IDX_fb94fa8d5ca940daa2a58139f8";
|
||||
DROP INDEX "IDX_d92993a7d554d84571f4eea1d1";
|
||||
DROP INDEX "IDX_5267705a43d547e232535b656c";
|
||||
DROP INDEX "IDX_fc963e94854bff2714ca84cd19";
|
||||
DROP TABLE "shipping_method";
|
||||
DROP TABLE "cart";
|
||||
DROP TYPE "cart_type_enum";
|
||||
DROP INDEX "IDX_53cb5605fa42e82b4d47b47bda";
|
||||
DROP TABLE "gift_card";
|
||||
DROP TABLE "payment";
|
||||
DROP TABLE "payment_session";
|
||||
DROP TYPE "payment_session_status_enum";
|
||||
DROP INDEX "IDX_087926f6fec32903be3c8eedfa";
|
||||
DROP TABLE "discount";
|
||||
DROP TABLE "discount_rule";
|
||||
DROP TYPE "discount_rule_allocation_enum";
|
||||
DROP TYPE "discount_rule_type_enum";
|
||||
DROP INDEX "IDX_db7355f7bd36c547c8a4f539e5";
|
||||
DROP TABLE "product";
|
||||
DROP TABLE "shipping_profile";
|
||||
DROP TYPE "shipping_profile_type_enum";
|
||||
DROP TABLE "shipping_option";
|
||||
DROP TYPE "shipping_option_price_type_enum";
|
||||
DROP TABLE "shipping_option_requirement";
|
||||
DROP TYPE "shipping_option_requirement_type_enum";
|
||||
DROP TABLE "product_option";
|
||||
DROP INDEX "IDX_cdf4388f294b30a25c627d69fe";
|
||||
DROP TABLE "product_option_value";
|
||||
DROP INDEX "IDX_a0a3f124dc5b167622217fee02";
|
||||
DROP INDEX "IDX_7124082c8846a06a857cca386c";
|
||||
DROP INDEX "IDX_9db95c4b71f632fc93ecbc3d8b";
|
||||
DROP INDEX "IDX_f4dc2c0888b66d547c175f090e";
|
||||
DROP TABLE "product_variant";
|
||||
DROP TABLE "money_amount";
|
||||
DROP TABLE "image";
|
||||
DROP TABLE "region";
|
||||
DROP TABLE "payment_provider";
|
||||
DROP INDEX "IDX_e78901b1131eaf8203d9b1cb5f";
|
||||
DROP TABLE "country";
|
||||
DROP TABLE "currency";
|
||||
DROP TABLE "return_item";
|
||||
DROP TABLE "fulfillment";
|
||||
DROP TABLE "fulfillment_item";
|
||||
DROP TABLE "fulfillment_provider";
|
Loading…
Reference in New Issue
Block a user