From 6705d4cb318e8e9149f971c9fb844a2f5fb05076 Mon Sep 17 00:00:00 2001 From: German Urrustarazu Date: Mon, 18 Jul 2022 17:04:12 -0300 Subject: [PATCH] add migration file to update text --- .../migrations/000026_update_voting_strategy_desc.down.sql | 6 ++++++ .../migrations/000026_update_voting_strategy_desc.up.sql | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 backend/migrations/000026_update_voting_strategy_desc.down.sql create mode 100644 backend/migrations/000026_update_voting_strategy_desc.up.sql diff --git a/backend/migrations/000026_update_voting_strategy_desc.down.sql b/backend/migrations/000026_update_voting_strategy_desc.down.sql new file mode 100644 index 000000000..0f594df42 --- /dev/null +++ b/backend/migrations/000026_update_voting_strategy_desc.down.sql @@ -0,0 +1,6 @@ +UPDATE voting_strategies + SET description = 'one address is simply only allowed one vote, assets do not come into play.' + WHERE key = 'one-address-one-vote'; +UPDATE voting_strategies + SET description = 'a weight will be added for each NFT in a user address that matches the contract of the proposal' + WHERE key = 'balance-of-nfts'; \ No newline at end of file diff --git a/backend/migrations/000026_update_voting_strategy_desc.up.sql b/backend/migrations/000026_update_voting_strategy_desc.up.sql new file mode 100644 index 000000000..b75160159 --- /dev/null +++ b/backend/migrations/000026_update_voting_strategy_desc.up.sql @@ -0,0 +1,6 @@ +UPDATE voting_strategies + SET description = 'A weight will be added for each NFT in a user address that matches the contract of the proposal' + WHERE key = 'balance-of-nfts'; +UPDATE voting_strategies + SET description = 'One address is simply only allowed one vote, assets do not come into play.' + WHERE key = 'one-address-one-vote'; \ No newline at end of file