blob: f6ab0ee6e10215764d6e4af79003c1c641fdcc2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<changeSet id="20220804-add-pantryitem" author="kjhoerr" context="migrate">
<validCheckSum>8:350c0b8d4ff8ce36a2453a0fe2373684</validCheckSum>
<createSequence
sequenceName="hibernate_sequence"
incrementBy="1"
startValue="1"
/>
<createTable tableName="pantryitem">
<column name="id" type="int8">
<constraints primaryKey="true" primaryKeyName="pk_pantryitem_id" nullable="false" />
</column>
<column name="name" type="varchar(80)">
<constraints nullable="false" />
</column>
<column name="description" type="varchar(1000)" />
<column name="quantity" type="float8">
<constraints nullable="false" />
</column>
<column name="quantityunittype" type="varchar(40)">
<constraints nullable="false" />
</column>
</createTable>
</changeSet>
</databaseChangeLog>
|