Commit Graph
88 Commits
Author SHA1 Message Date
Rikard BartholfandGitHub 85806bbde4 Create index adyen_sessions.order_id (Foreign Key) (#441)
* Create index adyen_sessions.order_id (Foreign Key)

* Bump migration version
2024-11-15 11:36:08 +01:00
Rikard BartholfandGitHub 866f0ce950 Get detailed payment method in v_funnel_orders (#440)
* Get detailed payment method in v_funnel_orders

* Cleanup

* Bump revision prior release
2024-11-14 15:05:38 +01:00
Rikard BartholfandGitHub 6f45eaf533 6392-change-currencies-for-pl-ro-nz (#433)
* Prepare currencies for PL, RO and NZ

* Populate product-currencies and update relevant markets

* Scrap already deployed parts from migration

* Bump revcision
2024-11-13 09:09:28 +01:00
Rikard BartholfandGitHub fd3f391987 Remove invalid redirects (#438)
* Remove invalid redirects

* Fix revision before merge
2024-11-07 15:23:31 +01:00
Rikard BartholfandGitHub 0dfea578bb Add currencies (#434)
* Prepare currencies for PL, RO and NZ

* Populate product-currencies and update relevant markets

* Add currencies

* Fix migration version before merge
2024-11-04 15:32:11 +01:00
Rikard BartholfandGitHub 483744f82d Add v_funnel_order_rows.print_id (#432)
* Add v_funnel_order_rows.print_id

* Fix versioning before release
2024-10-28 10:30:30 +01:00
Rikard BartholfandGitHub c62fab2e44 Fetch Adyen payment type if it exists (#427)
* Fetch Adyen payment type if it exists

* Fix version number
2024-10-17 13:32:40 +02:00
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00
Rikard Bartholf 763262c108 Drop view if exists... 2024-10-16 12:35:39 +02:00
Rikard BartholfandGitHub 07e8ebd552 Create v_funnel_collections (#423)
* Add query

* Substitute sub-query with JOIN

* Fix typo in view

* Fix typo in view

* 🎨 Cleanup

* Remove redundant GRANT

* Fix revision for 504
2024-10-15 14:52:50 +02:00
Rikard BartholfandGitHub 376246992a Add payment_method to v_analytics_orders2 (#422)
* Add payment_method to v_analytics_orders2

* Fetch payment_type from Adyen if applicable, else from orders

* Set correct version
2024-10-15 12:00:58 +02:00
Rikard BartholfandGitHub d1f378c6e9 Add discount_codes.applicable_on_sales (#420) 2024-10-11 10:01:00 +02:00
Rikard BartholfandGitHub e4544ed56d Change path for designer 332 (Emelie Lindqvist) (#419)
* Change path for designer 332 (Emelie Lindqvist)

* Substitute id for designerid in update query

* Bump version
2024-10-02 15:40:16 +02:00
Rikard BartholfandGitHub 969aaa8810 Display width and height in export to Funnel (#405)
* Display width and height in export to Funnel

* Display width and height in export to Funnel
2024-06-13 16:28:07 +02:00
Rikard BartholfandGitHub c9b46050a8 Drop table product-types and remove references (#391)
* Drop table product-types and remove references

* Fix version number

* Cleanup

* Cleanup
2024-06-04 12:30:39 +02:00
Rikard BartholfandGitHub 79673acdf7 Change order_rows.external_status to TEXT (#387)
* Change order_rows.external_status to TEXT

* Fix version numbering
2024-03-20 15:13:33 +01:00
Rikard BartholfandGitHub e82d3ab9b2 Delete unused product groups from database (#378)
* Delete unused product groups from database

* Delete from product-groups and related tables

* Fix migration naming
2024-03-13 10:39:15 +01:00
Rikard BartholfandGitHub 272376477b Make designers.commission numeric (#371)
* Make designers.commission numeric

* Fix migration numbering
2024-02-27 11:11:10 +01:00
Rikard BartholfandGitHub 022f3cb2d8 Add attention to v_funnel_orders (#370)
* Add attention to v_funnel_orders

* Cleanup indentation

* Fix sequence no
2024-01-19 12:16:30 +01:00
Rikard BartholfandGitHub c4f57bab62 Remove invalid redirects (#369)
* Remove invalid redirects

* Fix migration numbering
2024-01-16 10:28:46 +01:00
Rikard BartholfandGitHub eaf0fef362 Add type wallpaper_kit_peel_and_stick (#362)
* Add type wallpaper_kit_peel_and_stick

* Fix numbering
2023-11-17 11:55:48 +01:00
Rikard BartholfandGitHub e3e04575e8 4383 pricelist to funnel (#357)
* Initial commit

* Cleanup

* Provide pricelist for Funnel

* Add updated to generated pricelist

* Fix numbering of migration
2023-11-01 14:57:50 +01:00
Rikard BartholfandGitHub 7605eeda76 Add updated columns (#359)
* Add updated columns

* Fix numbering of migration
2023-11-01 14:45:43 +01:00
Rikard BartholfandGitHub ca64917469 Add lower case index for data->code (#356)
* Add lower case index for data->code

* Only add index if not exists

* Fix numbering of migration
2023-10-17 11:50:32 +02:00
Rikard BartholfandGitHub f10ab67c6c Create view for funnel (#354)
* Create view for funnel

* Cleanup

* Cleanup

* Remove SEK and RUB from list

* Fix migration numbering
2023-10-16 09:29:08 +02:00
Rikard BartholfandGitHub 664c89b774 Delete invalid and old discounts and make the code unique (#338)
* WIP

* WIP - will organize code later

* Remove redundant view

* 🎨 Fix typo

* Cleanup

* Fix invalid column references

* Ensure start date is before end date on INSERT or UPDATE

* Fix migration number
2023-10-13 13:32:14 +02:00
Rikard BartholfandGitHub 1e2d28cce2 Set standard freight to €0 for India (#352)
* Set standard freight to €0 for India

* Fix numbering of migration

* Set price for Express in India

* Set price for Express in India
2023-10-10 15:35:42 +02:00
Rikard BartholfandGitHub b353100bf0 Add stockproduct for self adhesive (#343)
* Add stockproduct for self adhesive

* Set correct sequence no for migration

* Rename stockproduct

* Fix numbering
2023-09-15 10:56:35 +02:00
Rikard Bartholf 34fed703a4 Fix revision 2023-07-07 15:58:41 +02:00
Rikard BartholfandGitHub b25305aa00 Add procedure stockproduct_create (#340)
* Add procedure stockproduct_create

* Replace tabs with spaces

* Set visible end browsable default = 0
2023-07-06 14:38:41 +02:00
Rikard BartholfandGitHub 04007bc6a0 Remove invalid imported products (#339) 2023-07-05 15:13:03 +02:00
Rikard BartholfandGitHub 49de67fe4b Add in_transit to exernal status type (#335) 2023-07-01 17:24:49 +02:00
cc0ce54fcd 3121 [DB] customer service urls (#307)
* Add redirects for CS links

* Cleanup

* Add redirects

* Rename text tag placeholders for new routes

* Remove obsolete redirects

* Replace special char for PL

* Delete more redundant redirect entries

* Fix deletion of old entries

* Update sequence number for migration

---------

Co-authored-by: Fredrik Ringqvist <fredrik.ringqvist@photowall.se>
2023-05-12 10:53:56 +02:00
Rikard BartholfandGitHub 4eef6eb06e Add discount to v_funnel_order_rows (#310)
* Add discount to v_funnel_order_rows

* Revert negative discount and bump version

* Display negative or positive discount based on sub_type
2023-03-08 10:47:19 +01:00
Rikard BartholfandGitHub 29bcd2f0ae Add fields to v_funnel_order_rows (#308)
* Add fields to v_funnel_order_rows

* Bump migration version before release
2023-01-25 14:13:56 +01:00
Rikard BartholfandGitHub 8cbc50091e External products out of stock (#302) 2022-11-22 09:25:41 +01:00
Rikard BartholfandGitHub 29fa12b87a 2369 [Database] rework stock product handling (#271)
* Create stockproducts table

* Add wallpaperkit to stockproducts

* Drop obsolete stock tables

* WIP

* Drop stock-related stuff

* Add migration to last in queue

* Add updated trigger on stockproducts

* Prepare for release

* Merge master

* Prepare for release
2022-09-22 07:58:19 +02:00
Rikard BartholfandGitHub 03f0d39289 Update AU VAT and express freight price (#286) 2022-07-08 11:21:52 +02:00
Rikard BartholfandGitHub 40cd340532 Copy articels to new markets (#273)
* Copy articels to new markets

* Cleanup

* Translate more URLs

* Cleanup
2022-05-10 16:21:57 +02:00
Rikard BartholfandGitHub 751f9ddf96 Fix crashing invoice reports (#253)
* Fix crashing invoice reports

* Fix typo
2022-02-10 13:46:17 +01:00
Rikard BartholfandGitHub 68e622ed31 Fix v_analytics_order_rows (#252) 2022-02-08 15:13:22 +01:00
Rikard BartholfandGitHub 81230fe8db Add timezone to docker-compose example 2021-10-19 15:25:35 +02:00
Rikard Bartholf c01143588a Add info about postgresql in README 2021-10-18 16:57:10 +02:00
Rikard BartholfandGitHub 9d41ec3b53 Add prefix for UNACCENT in getsafexmlpath (#233)
* Add prefix for UNACCENT in getsafexmlpath

The restore of a backup won't work with UNACCENT without schema prefix.

* Bugfix

* Bugfix

* Remove accidentally left over file
2021-10-15 13:48:20 +02:00
Rikard BartholfandGitHub 27932c1987 Add index for addresses in samples (#222) 2021-09-08 13:09:46 +02:00
Rikard BartholfandGitHub e1d6c48723 Provide index for addresses in orders (#221) 2021-09-08 11:36:37 +02:00
Rikard Bartholf 739029cebc PW-844 Prevent empty category names in database 2017-05-16 12:41:22 +02:00
Rikard Bartholf 0c17f73aa2 PW-761 Add missing indexes for eSales Views 2017-04-27 13:02:11 +02:00
Rikard Bartholf e80396eb09 PW-773 Convert v_categorytree into a materialized view 2017-04-25 09:20:27 +02:00
Rikard Bartholf 49439b54a1 P5-994 Add designer attributes to exported data 2017-02-01 14:39:03 +01:00
Rikard Bartholf 506508992f PW-636 Update VAT for France 2017-02-01 09:00:58 +01:00
Rikard Bartholf 69ff764fdf PW-602 Add col: listprice to product-printproducts 2017-01-05 14:00:03 +01:00
Rikard Bartholf c17f872962 PW-598 Add listprice column 2017-01-02 16:15:52 +01:00
Rikard Bartholf 6177546444 P5-883 Add listprice to eSales export 2016-12-09 13:21:26 +01:00
Rikard Bartholf 0400556a2f P5-358 Add listprice for each market 2016-11-16 10:53:34 +01:00
Rikard Bartholf 11fd36e96a Merge P5-824_associate_color_categories 2016-09-27 11:00:12 +02:00
Rikard Bartholf 4e6da69cfa Add required migrations 2016-08-24 12:19:16 +02:00
Rikard Bartholf 131da5e69e P5-801 Add specialized views for eSales export 2016-08-11 07:55:31 +02:00
Rikard Bartholf 9a9b3cdb3f P5-717 Remove positions of markers from database 2016-06-30 09:47:37 +02:00
Rikard Bartholf 414398de07 Merge P5-303 into master 2016-05-26 10:57:05 +02:00
Rikard Bartholf dfa26b9dd0 P5-536 Hide designer name info on prod. page 2016-05-25 16:18:50 +02:00
Rikard Bartholf b3542a10a1 P5-399 Add fields for design wallpaper texts 2016-05-04 13:51:05 +02:00
Rikard Bartholf 3170a9bd0a P5-397_sql_add_designer_wallpaper_group 2016-05-03 15:44:52 +02:00
Rikard Bartholf ea4cc3ee71 Add designers.no_follow 2016-04-14 13:49:33 +02:00
Rikard Bartholf efb5b34de6 Change behaviour of 000.003 2016-04-04 10:51:47 +02:00
Rikard Bartholf 454de56f28 Add sort_desc to designers 2016-04-04 10:34:06 +02:00
Rikard Bartholf 2c5c2d2034 Automatically create control table if it doesn't exists 2016-02-17 15:11:11 +01:00
Rikard Bartholf 375c521e17 Adapt documentation for new configuration handling 2016-02-17 12:35:35 +01:00
Rikard Bartholf a0e99a7e2a Rework configuration handling 2016-02-17 12:22:22 +01:00
Rikard Bartholf 3c3baf9712 Add "name" to category_texts 2016-02-17 10:37:54 +01:00
Rikard Bartholf 9a92168e61 Add DB_NAME to sample configuration 2016-02-15 11:27:52 +01:00
Rikard Bartholf 8524234f92 Add DB_NAME to sample configuration 2016-02-15 11:26:52 +01:00
Rikard Bartholf 4f27eaa684 Hide configuration from GIT 2016-02-15 11:20:59 +01:00
Rikard Bartholf 2b8117034a Remove original configuration file 2016-02-15 11:19:45 +01:00
Rikard Bartholf df0b9f5b46 Add example configuration file 2016-02-15 11:18:39 +01:00
Rikard Bartholf 8fdca24a34 Merge branch 'master' into rb_dev 2016-02-15 10:32:27 +01:00
Rikard Bartholf 9dfb91a356 Add revised version of collections 2016-02-15 10:31:50 +01:00
Rikard Bartholf 713d9f2a97 Merge branch 'master' into rb_dev 2016-02-15 10:27:27 +01:00
Rikard Bartholf 117caefdaa Add collections and related tables 2016-02-15 10:21:50 +01:00
Rikard Bartholf d4b6712db4 Add collections 2016-02-15 09:54:47 +01:00
Rikard Bartholf b36401c1cd Fix typo 2016-02-12 13:34:24 +01:00
Rikard Bartholf b53b4f093c Remove example migration file 2016-02-12 13:33:21 +01:00
Rikard Bartholf ffb8a6bef2 Update README 2016-02-12 13:24:21 +01:00
Rikard Bartholf 260c9939c3 Update documentation 2016-02-12 12:54:28 +01:00
Rikard Bartholf ab695bcf83 Update README 2016-02-12 12:44:52 +01:00
Rikard Bartholf cba3adbf49 Update README and add support for configuration file 2016-02-12 12:42:33 +01:00
Rikard Bartholf c7124a19ad Update README 2016-02-12 12:00:09 +01:00
Rikard Bartholf 62f0801d78 Add initial README 2016-02-12 11:57:08 +01:00