summaryrefslogtreecommitdiff
path: root/common/changelog/model.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-01-25 20:32:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-25 20:32:06 +0300
commit0d49ea1fe08cf1eab41a00149393a291c65a59d7 (patch)
tree0391eb09309ca95282e200516937e64d89f3e1bb /common/changelog/model.hxx
parentfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (diff)
Turn odb-tests repository into package for muti-package repositoryodb-tests
Diffstat (limited to 'common/changelog/model.hxx')
-rw-r--r--common/changelog/model.hxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/common/changelog/model.hxx b/common/changelog/model.hxx
deleted file mode 100644
index aa8891a..0000000
--- a/common/changelog/model.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-// file : common/changelog/model.hxx
-// license : GNU GPL v2; see accompanying LICENSE file
-
-#ifndef MODEL_HXX
-#define MODEL_HXX
-
-#include <vector>
-
-#pragma db model version(1, 1, open)
-
-#pragma db value
-struct value
-{
- int x;
- int y;
-};
-
-struct object1;
-
-#pragma db object
-struct object
-{
- #pragma db id auto
- int id;
-
- #pragma db null default(0) options("DUMMY=1")
- int num;
-
- #pragma db index unique member(num, "DESC") method("BTREE") options("DUMMY=1")
-
- #pragma db index
- value v; // Multi-column.
-
- std::vector<int> nums;
- object1* o1;
-};
-
-#pragma db object
-struct object1
-{
- #pragma db id
- value id; // Multi-column.
- int num;
-};
-
-#endif // MODEL_HXX