File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/resources/liquibase/version/0.4 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 6
6
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd" >
7
7
8
8
<changeSet id =" add-creator-columns-to-series_sales_table" author =" cssru" context =" scheme" >
9
+ <comment >We use this way because of MySQL version supported by TravisCI (<5 .6.6)</comment>
9
10
10
11
<addColumn tableName =" series_sales" >
11
12
<column name =" created_at" type =" DATETIME" />
12
13
<column name =" created_by" type =" INTEGER"
13
- defaultValueComputed=" SELECT u.id FROM users u WHERE u.role = 'ADMIN' LIMIT 1" >
14
+ defaultValueComputed=" ( SELECT u.id FROM users u WHERE u.role = 'ADMIN' LIMIT 1) " >
14
15
<constraints nullable =" false"
15
16
references=" users(id)"
16
17
foreignKeyName=" fk_series_sales_users_id" />
You can’t perform that action at this time.
0 commit comments