In demographics I added five more columns but its not shown in database.
Then I added columns in Person.hbm.xml file and added extra column in model class also but once I commited it is showing
Can’t connect to any repository: GitHub - openmrs/openmrs-core: OpenMRS API and web application code (https://github.com/openmrs/openmrs-core: git-receive-pack not permitted on ‘GitHub - openmrs/openmrs-core: OpenMRS API and web application code ’)
gcliff
(CLIFF GITA)
August 28, 2019, 6:16am
22
Did u need to add the corresponding changeSets in liquibase for the new columns that you are adding
gcliff
(CLIFF GITA)
August 28, 2019, 6:22am
23
u can’t access the main openmrs repo because you don’t have the rights, you can fork it to your repo,then do a git clone and when you are pushing your commits, push to the origin eg ‘git push origin TRUNK:3333’ and then create a pr to merge into core
Yes. I added the new columns in liquibase-schema-only.xml
gcliff
(CLIFF GITA)
August 28, 2019, 6:27am
25
you migrate the chaneSets of the new columns to liquibase-update-to2.3.xml and build again
How to migrate the changeset of the new column
gcliff
(CLIFF GITA)
August 28, 2019, 7:14am
27
copy the code you wrote for the liquibase changeSet from liquibase-schema-only.xml to liquibase-update-to2.3.xml
Okay. I tried to add change set it is asking for id. What is the id for that. That means I have to take a ticket for that.
gcliff
(CLIFF GITA)
August 28, 2019, 7:32am
29
i think its requesting for a primary key
No its not a primary key because one person added TRUNK-5413. I searched on that its an issue. So I am asking for that.
I created encounter type and HTML form and added concepts which I want to capture. But how to add this in app definition or how it will exist in register patient.