Nut  0.1
 All Classes Functions
defines_p.h
1 /**************************************************************************
2 **
3 ** This file is part of Nut project.
4 ** https://github.com/HamedMasafi/Nut
5 **
6 ** Nut is free software: you can redistribute it and/or modify
7 ** it under the terms of the GNU Lesser General Public License as published by
8 ** the Free Software Foundation, either version 3 of the License, or
9 ** (at your option) any later version.
10 **
11 ** Nut is distributed in the hope that it will be useful,
12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ** GNU Lesser General Public License for more details.
15 **
16 ** You should have received a copy of the GNU Lesser General Public License
17 ** along with Nut. If not, see <http://www.gnu.org/licenses/>.
18 **
19 **************************************************************************/
20 
21 #ifndef DEFINES_P_H
22 #define DEFINES_P_H
23 
24 #define __NAME "name"
25 #define __TYPE "type"
26 #define __FIELDS "fields"
27 #define __nut_FIELD "field"
28 
29 #define __nut_DB_VERSION "database_version"
30 #define __nut_NAME_PERFIX "nut_db_key::"
31 #define __nut_PRIMARY_KEY "primary_key"
32 #define __nut_AUTO_INCREMENT "auto_increment"
33 #define __nut_UNIQUE "unique"
34 #define __nut_TABLE "table"
35 #define __nut_TABLE_NAME "table_name"
36 
37 #define __nut_LEN "len"
38 #define __nut_DEFAULT_VALUE "def"
39 #define __nut_NOT_NULL "notnull"
40 
41 #define __nut_FOREGION_KEY "foregion_key"
42 #define __nut_NEW "new"
43 #define __nut_REMOVE "remove"
44 #define __nut_CHANGE "change"
45 
46 #endif // DEFINES_P_H