add expense limit config
This commit is contained in:
parent
8abe607c26
commit
bb169d6cc8
@ -300,6 +300,8 @@ open class Plant : BaseModel() {
|
||||
var print: MutableMap<String, String>? = mutableMapOf()
|
||||
@DbJsonB
|
||||
var prefixes: MutableMap<String, String>? = mutableMapOf()
|
||||
@DbJsonB
|
||||
var limits: MutableMap<String, String>? = mutableMapOf()
|
||||
}
|
||||
|
||||
class RefreshHistory {
|
||||
|
||||
2
src/main/resources/dbmigration/1.38.sql
Normal file
2
src/main/resources/dbmigration/1.38.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- apply alter tables
|
||||
alter table plant add column if not exists limits jsonb;
|
||||
8
src/main/resources/dbmigration/model/1.38.model.xml
Normal file
8
src/main/resources/dbmigration/model/1.38.model.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
|
||||
<changeSet type="apply">
|
||||
<addColumn tableName="plant">
|
||||
<column name="limits" type="jsonb"/>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
</migration>
|
||||
Loading…
x
Reference in New Issue
Block a user