Skip to content

Commit c557663

Browse files
authored
ETT-413 Remove apparently-unused template field from ht_institutions (#28)
* ETT-413 Remove apparently-unused template field from ht_institutions - Remove `template` from `CREATE TABLE` and regenerate sample data without this field. - I have the script to regenerate this dump as part of an "experimental" branch that is not committed (yet). * Minor tidying: - Bare bones .gitignore that just deals with Mac .DS_Store files - README amended that the main purpose is development, not just testing - Trim unused space in docker compose file
1 parent c7ccb63 commit c557663

5 files changed

Lines changed: 347 additions & 325 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## db-image
22

3-
Docker image with MariaDB and HathiTrust database for testing.
3+
Docker image with MariaDB and HathiTrust database for testing and local development.
44

55
Note: the `mdp-lib` credentials (at the end of `sql/000_ht_schema.sql`)
66
should be used wherever possible. The `mdp-admin` account has write

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ services:
44
mariadb:
55
build: .
66
restart: always
7-
7+

sql/000_ht_schema.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ CREATE TABLE `ht_institutions` (
129129
`inst_id` varchar(64) PRIMARY KEY NOT NULL,
130130
`grin_instance` varchar(8) DEFAULT NULL,
131131
`name` varchar(256) DEFAULT NULL,
132-
`template` varchar(256) DEFAULT NULL,
133132
`domain` varchar(32) DEFAULT NULL,
134133
`us` tinyint(1) NOT NULL DEFAULT 0,
135134
`mapto_inst_id` varchar(32) DEFAULT NULL,

0 commit comments

Comments
 (0)