forked from GeographicaGS/Elcano-iepg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Juan Pedro Pérez
authored and
Juan Pedro Perez
committed
Jan 1, 2017
1 parent
b820967
commit 2bbe7d6
Showing
9 changed files
with
61,251 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
alter table iepg_data_redux.master_country add column xlsx_column_name varchar(150); | ||
|
||
alter table iepg_data_redux.master_country alter column iso_3166_1_2_code type varchar(4); | ||
|
||
update iepg_data_redux.master_country set xlsx_column_name=full_name_en_order; | ||
|
||
update iepg_data_redux.master_country set xlsx_column_name='Viet Nam' | ||
where trim(short_name_en_order)='Vietnam'; | ||
|
||
update iepg_data_redux.master_country set xlsx_column_name='United Republic of Tanzania' | ||
where trim(short_name_en_order)='Tanzania'; | ||
|
||
update iepg_data_redux.master_country set xlsx_column_name='United Kingdom' | ||
where trim(short_name_en_order)='United Kingdom'; | ||
|
||
update iepg_data_redux.master_country set xlsx_column_name='Syria' | ||
where trim(short_name_en_order)='Syria'; | ||
|
||
update iepg_data_redux.master_country set xlsx_column_name='Korea' | ||
where trim(short_name_en_order)='South Korea'; | ||
|
||
insert into iepg_data_redux.master_country( | ||
id_master_country, short_name_en_order, iso_3166_1_2_code, xlsx_column_name) | ||
values ('un999', 'European Union', 'XBEU', 'European Union'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker exec -ti elcanoiepg_pgsql_1 /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker exec -ti elcanoiepg_api_backend_1 /bin/bash |
Oops, something went wrong.