mirror of
https://github.com/bitwarden/server
synced 2026-01-10 12:33:49 +00:00
Increase sales tax precision from 2 to 3 decimal places (#1525)
* Allow for tax rates with 3 decimal places * Update input validation * Increase precision of create procedure
This commit is contained in:
@@ -3,7 +3,7 @@ CREATE TABLE [dbo].[TaxRate] (
|
||||
[Country] VARCHAR(50) NOT NULL,
|
||||
[State] VARCHAR(2) NULL,
|
||||
[PostalCode] VARCHAR(10) NOT NULL,
|
||||
[Rate] DECIMAL(5,2) NOT NULL,
|
||||
[Rate] DECIMAL(6,3) NOT NULL,
|
||||
[Active] BIT NOT NULL,
|
||||
CONSTRAINT [PK_TaxRate] PRIMARY KEY CLUSTERED ([Id] ASC)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user