/
LOADORDER
181 lines (180 loc) · 5.37 KB
/
LOADORDER
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# This is the base file used to build the LOAD.idx file
# It specifies a list of db changes in order.
# lines beginning with ! denote fixes where the fix is deemed applied even if it
# errors (legacy fixes that may error).
# comments begin with # (but you knew that....)
# 1.4 fixes from the old Fixes.sql
1.4/menu-cleanup.sql
!1.4/location-fixes.sql
!1.4/batch-fixes.sql
1.4/eca-update.sql
!1.4/menu-update1.sql
!1.4/person-fixes.sql
!1.4/ar-constraint1.sql
!1.4/ap-constraint1.sql
!1.4/menu-update2.sql
!1.4/invoice-fixes.sql
!1.4/ar-fixes2.sql
!1.4/ar-fixes3.sql
1.4/chart-view.sql
!1.4/account-heading-fix.sql
1.4/locale-update.sql
!1.4/inventory-fix.sql
!1.4/inventory-fix2.sql
!1.4/bu-fix.sql
!1.4/account-translations.sql
1.4/drop-je-functions.sql
!1.4/templatetrans.sql
1.4/business_unit_class_id_seq-fix.sql
# 1.5 changes
!1.5/invoice-tbl-cogs-constraint.sql
!1.5/trial_balance_cleanup.sql
1.5/templates-last-modified.sql
1.5/parts_fkeys.sql
!1.5/open_forms_callers.sql
1.5/robot_entity.sql
1.5/cleanup_invoice_id.sql
1.5/invoice_id_fkey.sql
1.5/add_qty_to_pricematrix.sql
1.5/remove_pos_template.sql
# The scripts 1.5/template_menu and 1.5/template_menu3 used to
# fail, but we didn't detect, causing them to be added to the log of
# applied patches. By ignoring errors here, we simulate the same
# even though we now correctly catch errors
1.5/template_menu2.sql
1.5/issue-2380-modify-tax_extended_entry_id-constraint.sql
# these lines were added after 1.5.0
1.5/issue-2278-modify-acc_trans-index.sql
!1.5/template_menu3.sql
1.5/template_menu4.sql
1.5/fixed-assets-depreciation-sproc.sql
1.5/fixed-assets-not-null-constraints.sql
1.5/template_menu-v2.sql
1.5/abstract_tables.sql
#tag: migration-target-lsmb
# Note: the schema as created up to here, is the one as required by
# the migration scripts in sql/upgrade/. Don't insert any change
# scripts before this point, because it breaks the migrations from
# both LedgerSMB 1.2 & 1.3 as well as from SQL 2.8 and 3.0
# 1.6 changes
1.6/drop_chart.sql
!1.6/drop_arap_cols.sql
1.6/drop_arap_cols.sql
1.6/audittrail-pg-user.sql
1.6/gl-trans-type.sql
1.6/gl-trans-type2.sql
1.6/no-inv-entity-cleanup.sql
1.6/no-inv-entity-tables.sql
1.6/no-inv-entity-end-entity.sql
!1.6/no-inv-entity-remove-entity.sql
1.6/drop-entity-duplicate_constraint.sql
1.6/fix-entity-primary-key.sql
1.6/add-eca-business-foreign-key.sql
1.6/add_empty_salutation.sql
1.6/missing-countries.sql
1.6/constrain_default_password_duration.sql
1.6/add-recon-index.sql
1.6/track-deleted-transactions.sql
1.6/more-indices.sql
#
# mc changes
mc/create-migration-validation-data.sql
mc/new-menus.sql
mc/new-tables.sql
mc/new-columns.sql
mc/changed-objects.sql
mc/drop-constraints.sql
# do data migration here...
mc/currency-migration.sql
mc/aa-migration.sql
mc/gl-add-curr-for-migration.sql
mc/acc-trans-migration.sql
mc/gl-del-curr-for-migration.sql
mc/acc-checkpoint-migration.sql
mc/journal-migration.sql
mc/budget-migration.sql
mc/migrate-new-constraints.sql
mc/new-constraints.sql
mc/dropped-objects.sql
mc/views.sql
mc/delete-migration-validation-data.sql
#tag: migration-target-sl
# 1.7 changes
1.7/drop-custom-catalog.sql
1.7/alter-menu-attributes.sql
1.7/drop-duplicate-gifi-index.sql
1.7/drop-menu-add-accounts.sql
1.7/drop-max_ac_id.sql
1.7/limit_summary_account_links.sql
1.7/rename-menu-option-gl-search.sql
1.7/to-location-pkeys-optimization.sql
1.7/create-trans_id-index.sql
1.7/fix-oe-person_id-fkey.sql
1.7/new_shipto-fkey.sql
# 1.8 changes
1.8/add-transdate-to-transactions.sql
1.8/update-payment-tables-documentation.sql
1.8/simplify-menu.sql
1.8/remove-fixes-table.sql
1.8/remove-custom-field-sprocs.sql
1.8/remove-unused-sprocs.sql
1.8/remove-unused-groups-admin.sql
1.8/parts-imports.sql
1.8/rm-templates-menus.sql
1.8/add-system-files-menu.sql
1.8/initialize-payments-from-vouchers.sql
1.8/payments-reversing.sql
1.8/drop-payment_map.sql
1.8/explicit-reconciliation.sql
1.8/constrain-default-exchange-rates.sql
1.8/constrain-exchangerate-type.sql
1.8/drop_queue_payments_setting.sql
1.8/drop_poll_frequency_setting.sql
1.8/constrain-transaction-tables.sql
1.8/constrain-transactions-table-name.sql
1.8/add-gl-batch-import-menu.sql
1.8/fix-reporting-units-pks.sql
1.8/fix-issue-1672.sql
1.8/re-add-ap-aging-menu.sql
1.8/reconciliation-links-cascade.sql
1.8/initialize-payments-from-invoices.sql
1.8/add-payment-links-indices.sql
# 1.9 changes
1.9/templates-last-modified-no-tz.sql
1.9/drop-view-tx_report.sql
1.9/company-strict-sic.sql
1.9/workflow-schema.sql
1.9/workflow-email-table.sql
1.9/workflow-extend-tables.sql
1.9/relaxed-transdate-nullity.sql
1.9/transpose_user_prefs.sql
1.9/file-reconciliation.sql
1.9/add-vclimit.sql
1.9/workflow-email-expansion.sql
1.9/fix-template-images-typo.sql
# 1.10 changes
1.10/old-defaults-cleanup.sql
1.10/vue-import-csv-routes.sql
1.10/workflow-context.sql
1.10/aggregates-cleanup.sql
1.10/change-data-capture.sql
1.10/pricegroup-config.sql
1.10/warehouse-config.sql
1.10/language-config.sql
1.10/sic-config.sql
1.10/business-type-config.sql
1.10/gifi-config.sql
1.10/reconciliation-columns-cleanup.sql
1.10/unique-transaction-reconciliation.sql
1.10/missing-fkeys.sql
1.10/file-tranaction-cascade-delete.sql
1.10/fix-arap-approval-state.sql
# 1.11 changes
1.11/menu-system-users.sql
1.11/country-config.sql
1.11/workflow-user.sql
1.11/enable-barcode-on-invoices.sql
1.11/reversed-transactions.sql
1.11/negative-assets-liablilities-reclass.sql
1.11/ar-ap-role-naming-consistency.sql
1.11/aa-column-cleanup.sql