1. cast column id
This commit is contained in:
parent
0d68d28448
commit
f018a5d115
@ -1,13 +1,16 @@
|
||||
--
|
||||
-- CHILL REPRISE DE DONNEES
|
||||
-- version v0.1
|
||||
-- version v0.6 (== version canevas)
|
||||
--
|
||||
-- /!\
|
||||
-- /!\ IMPORTANT
|
||||
-- * Avant de migrer (UP), il faut d'abord importer les codes postaux !!!
|
||||
-- * On essaie de matcher le canvas csv et le script
|
||||
--
|
||||
|
||||
|
||||
-- 1. Adjust Type cast for id columns
|
||||
ALTER TABLE import.personnes ALTER COLUMN id TYPE INTEGER USING (id::integer);
|
||||
ALTER TABLE import.periodes ALTER COLUMN id TYPE INTEGER USING (id::integer);
|
||||
|
||||
--
|
||||
-- UP
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user