generate some Customer sample data for context="sample-data"
This commit is contained in:
parent
1f1794b4f8
commit
d583c9ec47
@ -57,7 +57,7 @@ spring:
|
|||||||
hibernate.cache.use_query_cache: false
|
hibernate.cache.use_query_cache: false
|
||||||
hibernate.generate_statistics: true
|
hibernate.generate_statistics: true
|
||||||
liquibase:
|
liquibase:
|
||||||
contexts: dev
|
contexts: dev,sample-data
|
||||||
mail:
|
mail:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 25
|
port: 25
|
||||||
|
@ -33,5 +33,17 @@
|
|||||||
</createTable>
|
</createTable>
|
||||||
|
|
||||||
</changeSet>
|
</changeSet>
|
||||||
|
|
||||||
|
<changeSet id="20190402141612-2" author="mhoennig" context="sample-data">
|
||||||
|
<loadData encoding="UTF-8"
|
||||||
|
file="config/liquibase/sample-data/customers.csv"
|
||||||
|
separator=";"
|
||||||
|
tableName="customer">
|
||||||
|
<column name="id" type="numeric"/>
|
||||||
|
<column name="jhi_number" type="numeric"/>
|
||||||
|
<column name="prefix" type="string"/>
|
||||||
|
</loadData>
|
||||||
|
</changeSet>
|
||||||
|
|
||||||
<!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
|
<!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
id;jhi_number;prefix
|
||||||
|
1;10001;aaa
|
||||||
|
2;10002;bbb
|
||||||
|
3;10003;ccc
|
||||||
|
4;10004;ddd
|
||||||
|
5;10098;abc
|
||||||
|
6;10099;bca
|
|
Loading…
Reference in New Issue
Block a user