Skip to content

Commit 06cdb3f

Browse files
committed
Update README.md
1 parent d906312 commit 06cdb3f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Once we have cloned our repository, the next thing we have to do is create our d
3232
Choose which type of database you would like and follow the corresponding instructions:
3333

3434
1. [Create IBM Db2 Warehouse on Cloud](#2a-create-ibm-db2-warehouse-on-cloud)
35-
2. [Create an IBM Db2 Docker Image](#2b-create-an-ibm-db2-on-premise-datase)
35+
2. [Create an IBM Db2 Docker Image](#2b-create-an-ibm-db2-on-premise-database)
3636

3737
#### 2a. Create IBM Db2 Warehouse on Cloud
3838

@@ -93,7 +93,17 @@ In the Db2 warehouse resource page, click on `Manage` and go to DB2 console by c
9393
* Make sure the column names and data types displayed are correct, then click `Next`
9494
* Click `Begin Load` to load the data
9595

96-
Once this is done it will create a table `HOME_SALES` under schema `DB2WML` which will be used by the Node.js application.
96+
We also need to create a table for `HOME_ADDRESS`, which will store the addresses of each house data.
97+
98+
* Click `Run SQL` from the hamburger menu.
99+
* Click `Blank`, which will open a blank sql editor
100+
* Run the command
101+
102+
```bash
103+
CREATE TABLE DB2WML.HOME_ADDRESS (ADDRESS1 VARCHAR(50), ADDRESS2 VARCHAR(50), CITY VARCHAR(50), STATE VARCHAR(5), ZIPCODE INTEGER, COUNTRY VARCHAR(50), HOME_ID INTEGER)
104+
```
105+
106+
Once this is done it will create a table `HOME_SALES` and `HOME_ADDRESS ` under schema `DB2WML` which will be used by the Node.js application.
97107

98108

99109
#### 3b. Create Schema and Tables for IBM Db2 Docker Image

0 commit comments

Comments
 (0)