Skip to content

Commit 79774e4

Browse files
committed
Change to use decimal for amount column
Signed-off-by: popcorny <[email protected]>
1 parent f6e36d7 commit 79774e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/staging/stg_payments.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ renamed as (
1616
payment_method,
1717

1818
-- `amount` is currently stored in cents, so we convert it to dollars
19-
amount / 100 as amount
19+
(amount / 100)::DECIMAL(10,2) amount
2020

2121
from source
2222

0 commit comments

Comments
 (0)