summaryrefslogtreecommitdiff
path: root/tests/data/complex
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-10 09:32:37 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-10 09:32:37 +0100
commit836b4106aeef9acd30a4fd4dbca00c5d90e9aef7 (patch)
treeeed85d2ef57efee4a6332755c8bdbfe72a7dc18e /tests/data/complex
parent8579962d017c4ec46d731b852353d38e4fb031df (diff)
Add the option to autoincrement integer values
Diffstat (limited to 'tests/data/complex')
-rw-r--r--tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml1
-rw-r--r--tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml1
-rw-r--r--tests/data/complex/settings.yaml4
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
index bb97781..3132884 100644
--- a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
+++ b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
@@ -16,4 +16,5 @@ order: delta
created:
updated:
epoch:
+version: 0
# and a comment at the end
diff --git a/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml b/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
index 44d8b89..690b680 100644
--- a/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
+++ b/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
@@ -14,3 +14,4 @@ order:
created:
updated:
epoch:
+version: 2
diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml
index bf64934..7aaf47b 100644
--- a/tests/data/complex/settings.yaml
+++ b/tests/data/complex/settings.yaml
@@ -48,3 +48,7 @@ fields:
- name: epoch
type: datetime
auto: false
+ - name: version
+ type: integer
+ auto: increment
+ increment: 2