aboutsummaryrefslogtreecommitdiff
path: root/common/changelog/drop-foreign-key.hxx
blob: ba3005ffe57a0b5442ea91bd3312636e0af745f3 (plain)
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
// file      : common/changelog/drop-foreign-key.hxx
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef DROP_FOREIGN_KEY_HXX
#define DROP_FOREIGN_KEY_HXX

#pragma db model version(BVER, CVER, open)

struct object1;

#pragma db object
struct object
{
  #pragma db id auto
  int id;

#if CVER == 1
  object1* o1;
#endif
};

#pragma db object
struct object1
{
  #pragma db id
  int id;
};

#endif // DROP_FOREIGN_KEY_HXX