Skip to content

Commit a38f4b6

Browse files
committed
process_tracker_python-1 Add support for other relational databases
🐛 travis CI configuration Trying to debug the database build matrix for .travis.yml Working on #1
1 parent b1e175d commit a38f4b6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ before_script:
1515
- mkdir $HOME/.process_tracker
1616
- mv configs/${DB}_config.ini $HOME/.process_tracker/process_tracker_config.ini
1717
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_account_create.sql -U postgres; fi
18-
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_process_tracker.sql process_tracking -U postgres; fi
19-
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresqlpostgresql_process_tracker_defaults.sql_process_tracker_defaults.sql process_tracking -U postgres; fi
18+
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_process_tracker.sql process_tracker -U postgres; fi
19+
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresqlpostgresql_process_tracker_defaults.sql_process_tracker_defaults.sql process_tracker -U postgres; fi
2020
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_account_create.sql; fi
2121
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_process_tracker.sql; fi
2222
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_process_tracker_defaults.sql; fi

dbscripts/mysql_process_tracker.sql

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
USE process_tracker;
2-
3-
4-
create schema process_tracker collate utf8mb4_0900_ai_ci;
1+
create schema process_tracker;
52

63
create table actor_lkup
74
(
@@ -235,7 +232,7 @@ create table extract_process_tracking
235232
extract_tracking_id int not null,
236233
process_tracking_id int not null,
237234
extract_process_status_id int null,
238-
extract_process_event_date_time datetime not null,
235+
extract_process_event_date_time datetime(6) not null,
239236
primary key (extract_tracking_id, process_tracking_id),
240237
constraint extract_process_tracking_ibfk_1
241238
foreign key (extract_tracking_id) references extract_tracking (extract_id),

0 commit comments

Comments
 (0)