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
4fcf4e1a
Commit
4fcf4e1a
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: pgsql compatibility
parent
de9abf2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/mysql/migration/3.0.0-3.1.0.sql
+3
-2
3 additions, 2 deletions
htdocs/install/mysql/migration/3.0.0-3.1.0.sql
with
3 additions
and
2 deletions
htdocs/install/mysql/migration/3.0.0-3.1.0.sql
+
3
−
2
View file @
4fcf4e1a
...
...
@@ -5,6 +5,7 @@
-- This file must be loaded by calling /install/index.php page
-- when current version is 2.8.0 or higher.
--
-- To rename a table: ALTER TABLE llx_table RENAME TO llx_table_new;
-- To add a column: ALTER TABLE llx_table ADD COLUMN newcol varchar(60) NOT NULL DEFAULT '0' AFTER existingcol;
-- To rename a column: ALTER TABLE llx_table CHANGE COLUMN oldname newname varchar(60);
-- To change type of field: ALTER TABLE llx_table MODIFY name varchar(60);
...
...
@@ -15,7 +16,7 @@ DROP table llx_prelevement_notifications;
-- Fix corrupted data
update
llx_deplacement
set
dated
=
'2010-01-01'
where
dated
<
'2000-01-01'
;
RENAME
TABLE
llx_c_methode_commande_fournisseur
TO
llx_c_input_method
;
ALTER
TABLE
llx_c_methode_commande_fournisseur
RENAME
TO
llx_c_input_method
;
ALTER
TABLE
llx_adherent
MODIFY
login
varchar
(
50
);
...
...
@@ -56,7 +57,7 @@ ALTER TABLE llx_facture_fourn ADD COLUMN ref_ext varchar(30) AFTER entity;
ALTER
TABLE
llx_commande_fournisseur
ADD
COLUMN
ref_ext
varchar
(
30
)
AFTER
entity
;
ALTER
TABLE
llx_adherent
ADD
COLUMN
ref_ext
varchar
(
30
)
after
entity
;
ALTER
TABLE
llx_commande
ADD
COLUMN
fk_demand_reason
int
(
11
)
AFTER
fk_availability
;
ALTER
TABLE
llx_commande
ADD
COLUMN
fk_demand_reason
int
eger
AFTER
fk_availability
;
ALTER
TABLE
llx_facturedet
DROP
INDEX
uk_fk_remise_except
;
ALTER
TABLE
llx_facturedet
ADD
UNIQUE
INDEX
uk_fk_remise_except
(
fk_remise_except
,
fk_facture
);
...
...
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