Help Centre

Database structure changes

Note! Removed tables and columns are temporarily renamed (prefixed with x_). Such tables and columns are dropped after some time (usually after one year) with notification

Note! Table changes in the Being developed section could change.

Note! The release date applies to environment onboarded to automatic upgrades

System tables changes are mentioned, but with little information (with brackets)

Being developed
  • (Documentation changes only: country, country_account, country_TaxCode)
  • (Documentation changes only: prentemplate)
  • (PaymentcommCountrySetting table added)
  • (ArticleAttribute1_Category and article_category group INT added)
Version 26.16 (2026-04-14)

Version 26.15 (2026-04-07)
  • (outdel_parcel.parcelno_display - increased to VARCHAR(100))
Version 26.14 (2026-03-31)
  • (outorder index s3_outorder replaced with new definition to improve API/GET)
  • (viskanramos.showattr2_no_flg SMALLINT added)
  • (propertyvalue.sort INT added)
  • (country_bankaccount.eInvoice BIT added)
Version 26.13 (2026-03-24)
  • (prentype.art_idDisplay INT NULL added, also added new log columns in prentype_log)
  • (viskanramos.reportdir, constraint changed)
  • (cust_pren - s1_cust_pren index changed to improve performance in subscription listings)
  • (article.productUUID UNIQUEIDENTIFIER added)
Version 26.12 (2026-03-17)
  • (customer_property - stamp columns added)
  • (cust_article / prentemplate: constraint for every_nth)
  • (CustomerClubProviderMembership.lastUpdatedAt DATETIME added)
  • (New table outdelattempt_outorder)
Version 26.11 (2026-03-10)
  • (customer_property - new index)
  • (propertykey_value - change tracking removed)
Version 26.10 (2026-03-03)
  • (store, added useLegacyCMSLogin BIT)
Version 26.09 (2026-02-24)
  • prentype_name.prentype_desc3 TEXT -> NVARCHAR(MAX)
Version 26.08 (2026-02-17)
  • article_attribute_sh: new "aggregated" columns added (to avoid heavy balances_log selections) - firstDayInStock, lastDayInStock and lastDayOutOfStock (all nullable)
Version 26.07 (2026-02-10)


Version 26.06 (2026-02-03)

  • attribute tables (attributeX and attributeX_name): attrX_code column changed to NVARCHAR(100)
  • (mailtosend, mailsendlog, mailfaillog: new column mailSendId added)

Version 26.05 (2026-01-27)
  • related_article_attribute - mandatory BIT and matchQty BIT added (applies to addons)
Version 26.04 (2026-01-20)


Version 26.03 (2026-01-12)
  • (prentype_article - removed)
  • PrentypeQuantity - added (only applicable for subscription templates with main product set - prentype.art_id)
  • prentype & prentype_name - linkFriendlyName added
Version 26.02 (2026-01-07)

Version 26.01 (2025-12-29)
  • CustomerAddress.alternativeEmailAddress added
  • (New year preparations - quite a few table scripts were updated - should not affect the system tables)
Version 25.50 (2025-12-09)
  • ShippingReference: index added
Version 25.49 (2025-12-02)
  • prentype (and prentype_log): Added new columns useAttribute1, useAttribute2 and useAttribute3 (only applicable for new subscription templates with main product set - art_id)
  • (mailtosend.mailEventCreated added)
Version 25.48 (2025-11-25)
  • (mailattachment - documentation and constraint changes only)
Version 25.46 (2025-11-11)


Version 25.45 (2025-11-04)
  • (stockhouse - documentation changes only)
Version 25.44 (2025-10-28)
  • (prentype_log - log changes in new art_id column)
Version 25.43 (2025-10-21)
  • (offer_log - minor fix)
  • New column filterTag added to several tables (ArticleBrand, ArticleBrand_name, attribute1, attribute1_name, attribute2, attribute2_name, attribute3, attribute3_name, propertyvalue, propertyvalue_name + log tables)
Version 25.42 (2025-10-14)
  • (propertykey.allowUpdateInUI + propertyvalue.mediaURL)
  • (ContentCategoryDraft - index improvements)
  • (deliverypoint - index improvements)
Version 25.41 (2025-10-07)
  • (ContentCategoryDraft - index improvements)
  • (offer_log - added missing filterByPricelist  columns)
Version 25.40 (2025-09-30)


Version 25.39 (2025-09-23)


Version 25.38 (2025-09-16)

  • (article_attribute_master, added single column identifier stockKeepingUnitRelationId)
  • (related_article_attribute, added single column identifier stockKeepingUnitRelationId)

Version 25.37 (2025-09-09)


Version 25.36 (2025-09-02)
    • (prentype, added main product identifier art_id (referring to article table))
    • (prentype_article, new table for allowed quantities - only for prentype.art_id > 0 subscription templates)
    Version 25.35 (2025-08-26)

      Version 25.34 (2025-08-19)

        Version 25.33 (2025-08-12)

          Version 25.32 (2025-08-05)

            Version 25.26 (2025-06-24, production 2025-08-05)
              • ticket: new column helpdeskAccountId INT 

              Version 25.25 (2025-06-17)
                • (viskanuser - new unique index on email_1)

                • (outdelivery - documentation improvements only)

                Version 25.24 (2025-06-10)
                  • (New unique column customerUUID added to customer - UNIQUEIDENTIFIER)
                  • (New tables for new permissions handling: UserGroupReport, UserGroupReturnReason, UserGroupRole, UserGroupWarehouse, UserGroupWebStore)
                  • (New columns for new permissions handling: viskanuser.userIdviskanusergroup.groupName)
                  • (wayofdelivery.split_parcels_limit data type changed to NUMERIC(19,3) to allow specifying "parts" of a kilogram)
                  • More support for custom data (new table for shipments: OutdeliveryCustomFieldValue)
                  • More support for custom data (new table for returns: ReturnCustomFieldValue)
                  • (New filter setting on offers: offer.filterByPriceList BIT)
                  • (Documentation improvements only: campaign.club_id_price)
                  Version 25.23 (2025-06-03)


                  Version 25.22 (2025-05-26)
                  • (Table documentation of table cust_article improved)
                  • (New unique column storeId (UNIQUEIDENTIFIER) added to store table)
                  • (New column lastModified (DATETIME) added to campaign table - will be changed if any offer related table is updated)
                  Version 25.21 (2025-05-20)


                  Version 25.20 (2025-05-13)
                  • (Removed table ETMSync)
                  • (Added club.clubCode - to be used as an API identifier for price lists)
                  • (Adding contraint to prentype, to make sure that club_id does not contain -1 values)
                  Version 25.19 (2025-05-06)

                  • (New columns added to outdel_report - filenamePattern, filepathPattern, reportParameterString)

                  Version 25.18 (2025-04-29)


                  Version 25.17 (2025-04-22)
                  • (Added ServiceProvider.productProvider BIT)
                  Version 25.16 (2025-04-15)
                  • New settings added to stockhouse table (purchasingAllowed, locationsAllowed)
                  • (Removed table viskanusergroup_installation)
                  • (Removed column visinstall_id from viskanusergroup_object / viskanusergroup_objectLog)
                  Version 25.15 (2025-04-08)


                  Version 25.14 (2025-04-01)
                  • (New table CustomerArticleInterestGroup)
                  • (CustomerArticleInterest.customerArticleInterestGroupId UNIQUEIDENTIFIER added)
                  • (outdel_parcel.s2_outdel_parcel index improved)
                  • (Removed table CashregisterZReport)
                  Version 25.13 (2025-03-25)


                  Version 25.12 (2025-03-18)


                  Version 25.11 (2025-03-11)
                  • (new table CustomerForgetQueue)
                  Version 25.10 (2025-03-04)
                  • (Clean up of not used permissions handling): supplier.visobj_id removed
                  • (Clean up of not used permissions handling): propertykey.visobj_id removed
                  Version 25.9 (2025-02-25)
                  • (create_flg/change_flg/delete_flg removed from viskanuser_object)
                  • (category.categoryId UNIQUEIDENTIFIER)
                  Version 25.8 (2025-02-18)
                  • (article_comment table removed)
                  Version 25.7 (2025-02-11)


                  Version 25.6 (2025-02-04)


                  Version 25.5 (2025-01-28)


                  Version 25.4 (2025-01-21)


                  Version 25.3 (2025-01-14)


                  Version 25.2 (2025-01-07)


                  Version 24.50 (2024-12-10)

                  (B2B support):

                  • New table CustomerAddress
                  Version 24.49 (2024-12-03)

                  (B2B support):

                  • customer.companyUser (BIT NOT NULL DEFAULT 0)
                  • purchase.cust_idPlacedOrderFor + cust_idPlacedOrderBy (INT NULL)
                  • New table CompanyUser
                  Version 24.48 (2024-11-26)


                  Version 24.47 (2024-11-26)


                  Version 24.46 (2024-11-12)
                  • (PriceHistory.changeDirection BIT NULL)
                  Version 24.45 (2024-11-05)


                  Version 24.44 (2024-10-29)

                  • (personalization_text (several tables) NVARCHAR(512) -> NVARCHAR(MAX))
                  • (article_attribute_sh.estimatedShippingDate DATE NULL)

                  Version 24.43 (2024-10-22)

                  • store.entry_id INTEGER NOT NULL DEFAULT -1

                  Changes for new tax handling (US Sales Tax project):

                  • article (+ article_log).taxCodeId INT NULL
                  • country.serviceProviderConfigIdForTaxRates INT NULL, shippingFeeWeighed BIT DEFAULT 1, paymentFeeWeighed BIT DEFAULT 1, serviceFeeWeighed BIT DEFAULT 1, pricesIncludingTax BIT DEFAULT 1

                  • New table country_TaxCode

                  • cust_article (+ cust_article_log).discountExcludingTax NUMERIC(28,8)

                  • cust_pren (+ cust_pren_log).shippingTaxRate NUMERIC(9,8) NULL, paymentFeeTaxRate NUMERIC(9,8), shippingFeeExcludingTax NUMERIC(19,2), paymentFeeExcludingTax (19,2)

                  • outdelivery.shippingFeeExcludingTax NUMERIC(9,8), paymentFeeExcludingTax NUMERIC(9,8), serviceFeeExcludingTax NUMERIC(9,8) NULL

                  • (outdelivery_process + outdelivery_process_log.process_status_extra VARCHAR(100) -> NVARCHAR(1024))

                  • outdeliveryrow.discountExcludingTax NUMERIC(19,2)

                  • outorder.shippingTaxRate NUMERIC(9,8) NULL, paymentFeeTaxRate NUMERIC(9,8) NULL, serviceFeeTaxRate NUMERIC(9,8) NULL, shippingFeeExcludingTax NUMERIC(9,8), paymentFeeExcludingTax NUMERIC(9,8), serviceFeeExcludingTax NUMERIC(9,8) NULL

                  • outorderrow.discountExcludingTax NUMERIC(19,2)

                  • return_del.amountClaimExcludingTax NUMERIC(19,2) NULL

                  • return_delhead.shippingFeeExcludingTax NUMERIC(19,2), paymentFeeExcludingTax NUMERIC(19,2), serviceFeeExcludingTax NUMERIC(19,2), amountReturnedExcludingTax NUMERIC(19,2)

                  • (return_delhead_process.process_status_extra NVARCHAR(1024) NULL)

                  • (ServiceProvider.taxRateProvider BIT DEFAULT 0)

                  • New table TaxCode

                  • New table TaxCodeExternal

                  • (viskanramos: taxCodeIdForShippingFee INT NULL, taxCodeIdForPaymentFee INT NULL, taxCodeIdForServiceFee INT NULL)

                  Version 24.42 (2024-10-14)


                  Version 24.41 (2024-10-08)
                  • (propertykey.sendToShippingProvider BIT DEFAULT 0)
                  Version 24.40 (2024-10-01)
                  • purchase.webStore_id INT NULL - holds the id of the web store (store_id could contain a reference to a physical store)
                  • (media.dateTaken DATETIME NULL)
                  Version 24.39 (2024-09-24)


                  Version 24.38 (2024-09-17)


                  Version 24.37 (2024-09-10)


                  Version 24.36 (2024-09-03)


                  Version 24.35 (2024-08-29)
                  • (stockhouse.external_packing_flg removed)
                  Version 24.34 (2024-08-20)
                  • (CrossdockingStockhouse removed)
                  • (stockhouse.sup_idCrossdocking removed)
                  • (viskanramos_indexrow removed)
                  • (indexrow_log removed)
                  Version 24.33 (2024-08-13)

                  • (stockhouse.managedByExternalSystem/balancesUpdatedByExternalSystem added)
                  • paymenttransactiongroup.paymentMethodType NVARCHAR(512) - actual payment method (Adyen)

                  Version 24.26 (2024-06-25)
                  • (New table SubscriptionPaymentAuthorizationHistory to handle recurring payments)
                  • (purchase.additionalOrderText NVARCHAR(1000) -> NVARCHAR(MAX))
                  Version 24.25 (2024-06-18)
                  • (wayofdelivery/wayofdelivery_name.wdel_code NVARCHAR(30) -> NVARCHAR(100))
                  Version 24.24 (2024-06-11)

                  Version 24.23 (2024-06-04)
                  • (return_log.outpayhead_id INT)
                  • entry.deactivationStdnote_id INT - support in the new back office to have different standard note for a specific method of arrival when cancellation a subscription
                  • (New table InorderrowCustomFieldValue)
                  Version 24.22 (2024-05-28)
                  • notes.noteId INT (new single column PK)
                  Version 24.21 (2024-05-21)


                  Version 24.20 (2024-05-14)
                  • New table WeeklySubscriptionDeliveryDayOffset (only applicable for the weekly subscription type)
                  Version 24.19 (2024-05-07)


                  Version 24.18 (2024-04-30)
                  • New table returnreason_entry (allow filtering on return reasons by order's method of arrival - InStore editor only)
                  Version 24.17 (2024-04-23)


                  Version 24.16 (2024-04-16)

                  • CustomFieldKey & PurchaseCustomFieldValue - new tables to allow storing custom values for purchases

                  Version 24.15 (2024-04-08)

                  • (HelpDesk improvements: replyTo added to mailtosend, mailsendlog and mailfaillog; contentId added to mailattachment)

                  Version 24.14 (2024-04-02)

                  • store_wayofdelivery.freeFreightSum NUMERIC(19,2) - possible to have "free freight"
                    on country/store/B2B&B2C/method of delivery level.

                  Version 24.13 (2024-03-26)


                  Version 24.12 (2024-03-19)


                  Version 24.11 (2024-03-12)

                  • cust_pren.deliveryEveryNth SMALLINT - new column for "weekly" subscriptions
                    (+ corresponding columns in
                    cust_pren_log)

                  Version 24.10 (2024-03-05)

                  • (obsolete tables contact / customer_contact removed)

                  Version 24.09 (2024-02-27)


                  Version 24.08 (2024-02-20)
                  • (all obsolete accperiod_stat_% tables removed)
                  Version 24.07 (2024-02-13)

                  Version 24.06 (2024-02-06)

                  Version 24.05 (2024-01-29)
                  • (viskanramos.advancedSubscriptions BIT DEFAULT 0: allow using advanced subscription settings in the new backoffice)

                  • (obsolete tables matter / matter_customer / measure removed)

                  Version 24.04 (2024-01-22)
                  • (article_attribute_media.sort INT DEFAULT 0: add the possibility to sort sku media)

                  • (article_attribute_sh.skuStockhouseId INT IDENTITY: new unique id - not PK for now)

                  Version 24.03 (2024-01-16)
                  • (outdel_config & outdelattempt.onlyVirtualGiftCardsAndVouchers BIT DEFAULT 0: for Gift cards - make sure digital gift cards are "delivered" separately)

                  Version 24.02 (2024-01-10)
                  Version 24.01 (2024-01-02)

                  Version 23.52 (2023-12-28)
                  • (System tables: lastid & lastidlog.lastid changed datatype from INT to BIGINT)
                  Version 23.51 (2023-12-19)

                  Version 23.50 (2023-12-12, 2023-12-19)

                  Version 23.49 (2023-12-05, 2023-12-12)

                  Version 23.48 (2023-11-28, 2023-12-05)
                  • (Gift card/Diggecard integration: added ServiceProvider.voucherProvider BIT, added table Voucher, added article.serviceProviderConfigId INT NULL, ServiceProviderParam.secret BIT NOT NULL)

                  • (CMS: ContentCategoryDraft & ContentCategoryHead & ContentCategoryHeadDraft & ContentCategoryHeadHistory

                    & ContentCategoryHeadLog.categoryName changed length from 30 to 120)

                  • HelpDesk v2: HelpdeskLabel.cat_id (INT NULL) and ticket_HelpdeskLabel added (temporary solution which will be removed when HelpDesk v1 is removed) - note! Released in some production databases.

                  Version 23.47 (2023-11-21, 2023-11-28)
                  Version 23.45 (2023-11-07, 2023-11-13)
                  Version 23.44 (2023-10-31; 2023-11-07)
                  • dupcontrolsetting
                    • this table contains settings for matching customers and finding customers duplicates
                    • an obsolete column for remembering processed customer ids is now removed: cust_id_prev2
                  Version 23.43 (2023-10-24, 2023-10-31)
                  Version 23.42 (2023-10-17, 2023-10-24)
                  • (HelpDeskLabel.labelName changed length from 20 to 30)
                  Version 23.41 (2023-10-10; 2023-10-17)
                  • interval_type
                    • subscription tables originally had support for having daily, weekly and monthly intervals. Only daily intervals are actually used/supported. The old interval_type will be replaced with something else in the near future. For now, the old ones have been removed
                    • cust_pren (subscriptions): interval_type
                    • cust_pren_log (log of subscription changes): interval_type_new, interval_type_old
                    • prentype (subscription templates): interval_type
                    • prentype_log (log of subscription template changes): interval_type_new, interval_type_old
                  Version 23.40 (2023-10-03; 2023-10-10)
                  • note
                    • the notes table contains user and system generated notes on customers, conversations, subscriptions, orders, deliveries and returns
                    • new columns have been added to simplify selections and improve performance
                      • cust_id INT NULL
                      • cust_pren_id INT NULL
                      • outorder INT NULL
                      • del_no INT NULL
                      • return_id INT NULL
                      • conversationId VARCHAR(36) NULL
                    • the upgrade will populate the new columns with values.
                  • ticket
                    • the ticket table contains HelpDesk ticket information and is used by HelpDesk v1. HelpDesk v2 populates the ticket table for backward compatibility reasons (will be removed)
                    • new column has been added to better handle conversation (only applicable for HelpDesk v2): conversationId VARCHAR(36) NULL
                  • outorder_external
                    • contains references to external (non Viskan) systems
                    • obsolete columns have been removed
                      • shopcart_ref
                      • requested_delivery_date
                    • a new column has been added to store arbitrary references: externalOrderReference1 NVARCHAR(100) NULL

                  CMS

                  Create and style your content


                  OMS

                  Manage your orders


                  CRM

                  Manage your customer data


                  Viskan System AB • Druveforsvägen 8A • 504 33 Borås • +46 33-790 03 75 • info@viskan.se