Commit 67f95df
committed
feat(migration): hash refresh tokens and update schema
- Removed existing Token and ReplacedByToken columns from RefreshTokens table.
- Added TokenHash and ReplacedByTokenHash columns with appropriate constraints.
- Updated indices to ensure uniqueness on TokenHash.
- Cleared existing refresh tokens data during migration.1 parent 9a0179e commit 67f95df
198 files changed
Lines changed: 16601 additions & 2245 deletions
File tree
- ShopInventory.Web
- Common/Errors
- Components
- Layout
- Pages
- CustomerPortal
- Data
- Features
- CreditNotes
- Commands
- ApproveCreditNote
- BulkCancelCreditNotes
- CreateCreditNote
- DeleteCreditNote
- DuplicateCancelledCreditNotes
- Queries/GetCreditNotes
- Reports
- Commands/BackfillFiscalTransactionLog
- Queries/GetFiscalTransactionLog
- Revmax
- Commands/FiscalizeCrossDeviceCreditNote
- Queries/GetCrossDeviceCreditNoteDraft
- Middleware
- Models
- Services
- wwwroot
- ShopInventory
- Authentication
- Common
- Errors
- Fiscalization
- Pods
- Security
- Configuration
- Controllers
- DTOs
- Data
- Features
- AppVersion
- Commands/UpdateMobileVersionPolicySettings
- Queries
- GetMobileVersionPolicySettings
- GetMobileVersionPolicy
- CreditNotes
- Commands
- BulkCancelCreditNotes
- CreateCreditNoteFromInvoice
- CreateCreditNote
- DuplicateCancelledCreditNotes
- Queries
- GetAllCreditNotes
- GetCreditNoteById
- GetCreditNoteByNumber
- GetCreditNotesByInvoice
- DesktopIntegration
- Commands
- BackfillFiscalTransactions
- SyncFiscalTransaction
- Queries/GetFiscalTransactions
- Documents
- Invoices
- Commands
- CreateInvoice
- UploadPod
- Events
- Queries
- GetInvoiceByDocEntry
- GetInvoiceByDocNum
- GetInvoicesByCustomer
- GetInvoicesByDateRange
- GetPagedInvoices
- GetPodDashboard
- GetPodUploadStatus
- Notifications
- Revmax
- Commands
- SetLicense
- TransactExt
- Transact
- Queries
- GetCardDetails
- GetDayStatus
- GetInvoice
- GetLicense
- GetUnprocessedInvoicesSummary
- GetZReport
- Statements/Queries/GenerateStatement
- UserManagement
- Commands
- CreateUser
- ResetTwoFactor
- UnlockUser
- UpdateGlobalDriverAssignedCustomers
- UpdateUserPermissions
- UpdateUser
- Queries
- GetUserPermissions
- GetUsers
- GetUser
- Mappings
- Middleware
- Migrations
- Models
- Services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1587 | 1587 | | |
1588 | 1588 | | |
1589 | 1589 | | |
1590 | | - | |
1591 | | - | |
1592 | | - | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
1593 | 1599 | | |
1594 | 1600 | | |
1595 | 1601 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | | - | |
| 606 | + | |
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
| 641 | + | |
642 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
643 | 653 | | |
644 | 654 | | |
645 | 655 | | |
| |||
653 | 663 | | |
654 | 664 | | |
655 | 665 | | |
656 | | - | |
| 666 | + | |
657 | 667 | | |
658 | 668 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | 669 | | |
666 | 670 | | |
667 | 671 | | |
668 | 672 | | |
669 | 673 | | |
670 | 674 | | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
677 | 690 | | |
678 | 691 | | |
679 | 692 | | |
| |||
738 | 751 | | |
739 | 752 | | |
740 | 753 | | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
741 | 761 | | |
742 | 762 | | |
743 | 763 | | |
| |||
0 commit comments