Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
51e8ebd6
Commit
51e8ebd6
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Clean sql
parent
a87cefa6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.1.0-3.2.0.sql
+0
-5
0 additions, 5 deletions
htdocs/install/mysql/migration/3.1.0-3.2.0.sql
htdocs/install/mysql/migration/repair.sql
+9
-0
9 additions, 0 deletions
htdocs/install/mysql/migration/repair.sql
with
9 additions
and
5 deletions
htdocs/install/mysql/migration/3.1.0-3.2.0.sql
+
0
−
5
View file @
51e8ebd6
...
...
@@ -268,11 +268,6 @@ ALTER TABLE llx_actioncomm DROP COLUMN fk_supplier_order;
ALTER
TABLE
llx_actioncomm
DROP
COLUMN
fk_supplier_invoice
;
ALTER
TABLE
llx_actioncomm
DROP
COLUMN
fk_commande
;
ALTER
TABLE
llx_product_stock
DROP
COLUMN
location
;
-- DROP TABLE llx_c_methode_commande_fournisseur;
-- DROP TABLE llx_c_source;
-- DROP TABLE llx_cond_reglement;
-- DROP TABLE llx_expedition_methode;
-- DROP TABLE llx_product_fournisseur;
ALTER
TABLE
llx_adherent_extrafields
ADD
COLUMN
import_key
varchar
(
14
);
ALTER
TABLE
llx_product_extrafields
ADD
COLUMN
import_key
varchar
(
14
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/migration/repair.sql
+
9
−
0
View file @
51e8ebd6
...
...
@@ -48,3 +48,12 @@ DELETE FROM llx_boxes where box_id NOT IN (SELECT rowid FROM llx_boxes_def);
-- VPGSQL8.2 DELETE FROM llx_boxes_def as T1 WHERE rowid NOT IN (SELECT min(rowid) FROM llx_boxes_def GROUP BY file, entity, note)
-- Requests to clean old tables or fields
-- DROP TABLE llx_c_methode_commande_fournisseur;
-- DROP TABLE llx_c_source;
-- DROP TABLE llx_cond_reglement;
-- DROP TABLE llx_expedition_methode;
-- DROP TABLE llx_product_fournisseur;
-- ALTER TABLE llx_product_fournisseur_price DROP COLUMN fk_product_fournisseur;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment