woodpecker/store/datastore/ddl/mysql/files/025_add_builds_changed_files_column.sql
Alex Eftimie 2ff91e6a05
Add support for path-prefix condition (#174)
Example:
```yaml
when:
  path: '*.md'
```

should match only builds in which the commit added/removed or modified files with the *.md extension

Co-authored-by: 6543 <6543@obermui.de>
2021-06-28 23:50:35 +02:00

5 lines
168 B
SQL

-- name: add-builds-changed_files-column
ALTER TABLE builds ADD COLUMN changed_files TEXT
-- name: update-builds-set-changed_files
UPDATE builds SET changed_files='[]'