Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate sl30 mc currencies #7422

Merged
merged 7 commits into from Jun 14, 2023

Conversation

ylavoie
Copy link
Contributor

@ylavoie ylavoie commented May 20, 2023

Fix SL3.0 migration with transactions using multiple currencies.

Copy link
Member

@ehuelsmann ehuelsmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised: our schema had an "fx_transaction" indicator. I'm pretty sure that came from SQL Ledger. "mc" removed that indicator by moving from the fx values into the "amount_tc" column. By doing so, many rows would be dropped.

What happened to the rows with the "fx_transaction" == TRUE?

sql/upgrade/sl3.0.sql Outdated Show resolved Hide resolved
sql/upgrade/sl3.0.sql Outdated Show resolved Hide resolved
sql/upgrade/sl3.0.sql Show resolved Hide resolved
sql/upgrade/sl3.0.sql Outdated Show resolved Hide resolved
sql/upgrade/sl3.0.sql Show resolved Hide resolved
sql/upgrade/sl3.0.sql Outdated Show resolved Hide resolved
sql/upgrade/sl3.0.sql Outdated Show resolved Hide resolved
sql/upgrade/sl3.0.sql Outdated Show resolved Hide resolved
@ylavoie ylavoie force-pushed the migrate-sl30-mc-currencies1 branch 2 times, most recently from 9cafde4 to bed49ba Compare May 25, 2023 06:55
@ylavoie ylavoie force-pushed the migrate-sl30-mc-currencies1 branch from bed49ba to e90067e Compare June 13, 2023 23:26
@ylavoie ylavoie force-pushed the migrate-sl30-mc-currencies1 branch from e90067e to ac5295d Compare June 14, 2023 00:04
@ylavoie ylavoie merged commit 5bcc987 into ledgersmb:master Jun 14, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants