-
Notifications
You must be signed in to change notification settings - Fork 8
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
[PLA-2045] Improve query performance #273
[PLA-2045] Improve query performance #273
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
enhancement, bug_fix
Description
managed
attribute to theTransaction
model and database schema to improve query performance.managed
column to thetransactions
table, including setting default values and updating existing records.managed
column.Transaction
model to automatically set themanaged
attribute during creation and updates.Account
support class to determine if a public key is managed.Changes walkthrough 📝
TransactionFactory.php
Add `managed` attribute to transaction definition
database/factories/TransactionFactory.php
managed
attribute to the transaction definition.2024_10_17_061240_add_managed_to_transactions_table.php
Add `managed` column to transactions table with migration
database/migrations/2024_10_17_061240_add_managed_to_transactions_table.php
managed
column totransactions
table.managed
column.wallet_public_key
.MarkAndListPendingTransactionsMutation.php
Simplify transaction filtering using `managed` column
src/GraphQL/Schemas/Primary/Mutations/MarkAndListPendingTransactionsMutation.php
wallet_public_key
.managed
column check.Transaction.php
Set `managed` attribute in Transaction model lifecycle
src/Models/Laravel/Transaction.php
managed
attribute on creating and updating.Account.php
Add method to check managed public keys
src/Support/Account.php
isManaged
method to check if a public key is managed.CoreServiceProvider.php
Register migration for `managed` column in transactions
src/CoreServiceProvider.php
managed
to transactions table.