File tree 6 files changed +22
-10
lines changed
6 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 1
- # Automaticly generated by wsjcpp@v0.0.1
1
+ # Automaticly generated by wsjcpp@v0.1.5
2
2
cmake_minimum_required (VERSION 3.0)
3
3
4
- add_definitions (-DWSJCPP_VERSION ="v0.0.1 " )
5
- add_definitions (-DWSJCPP_NAME ="wsjcpp-storages" )
4
+ add_definitions (-DWSJCPP_APP_VERSION ="v0.1.3 " )
5
+ add_definitions (-DWSJCPP_APP_NAME ="wsjcpp-storages" )
6
6
7
7
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
8
8
set (MACOSX TRUE )
Original file line number Diff line number Diff line change 7
7
8
8
int main (int argc, const char * argv[]) {
9
9
std::string TAG = " MAIN" ;
10
- std::string appName = std::string (WSJCPP_NAME );
11
- std::string appVersion = std::string (WSJCPP_VERSION );
10
+ std::string appName = std::string (WSJCPP_APP_NAME );
11
+ std::string appVersion = std::string (WSJCPP_APP_VERSION );
12
12
if (!WsjcppCore::dirExists (" .wsjcpp" )) {
13
13
WsjcppCore::makeDir (" .wsjcpp" );
14
14
}
Original file line number Diff line number Diff line change @@ -84,6 +84,17 @@ WsjcppStorageColumnDef &WsjcppStorageColumnDef::number() {
84
84
85
85
// ---------------------------------------------------------------------
86
86
87
+ WsjcppStorageColumnDef &WsjcppStorageColumnDef::bigNumber () {
88
+ if (m_sType != " " ) {
89
+ WsjcppLog::throw_err (TAG, " Datatype already defined: " + m_sType);
90
+ return *this ;
91
+ }
92
+ m_sType = " bigNumber" ;
93
+ return *this ;
94
+ }
95
+
96
+ // ---------------------------------------------------------------------
97
+
87
98
WsjcppStorageColumnDef &WsjcppStorageColumnDef::doubleNumber () {
88
99
if (m_sType != " " ) {
89
100
WsjcppLog::throw_err (TAG, " Datatype already defined: " + m_sType);
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class WsjcppStorageColumnDef {
32
32
WsjcppStorageColumnDef &text ();
33
33
WsjcppStorageColumnDef &datetime ();
34
34
WsjcppStorageColumnDef &number ();
35
+ WsjcppStorageColumnDef &bigNumber ();
35
36
WsjcppStorageColumnDef &doubleNumber ();
36
37
WsjcppStorageColumnDef &primaryKey ();
37
38
WsjcppStorageColumnDef &defaultValue (const std::string& sDefault );
Original file line number Diff line number Diff line change 1
- # Automaticly generated by wsjcpp@v0.0.1
1
+ # Automaticly generated by wsjcpp@v0.1.5
2
2
cmake_minimum_required (VERSION 3.0)
3
3
4
4
project (unit-tests C CXX)
5
- add_definitions (-DWSJCPP_VERSION ="ut-v0.0.1 " )
6
- add_definitions (-DWSJCPP_NAME ="unit-tests-wsjcpp-storages" )
5
+ add_definitions (-DWSJCPP_APP_VERSION ="ut-v0.1.3 " )
6
+ add_definitions (-DWSJCPP_APP_NAME ="unit-tests-wsjcpp-storages" )
7
7
8
8
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
9
9
set (MACOSX TRUE )
@@ -29,7 +29,7 @@ list (APPEND WSJCPP_SOURCES "../src.wsjcpp/wsjcpp_core/wsjcpp_unit_tests_main.cp
29
29
list (APPEND WSJCPP_SOURCES "../src.wsjcpp/wsjcpp_core/wsjcpp_resources_manager.h" )
30
30
list (APPEND WSJCPP_SOURCES "../src.wsjcpp/wsjcpp_core/wsjcpp_resources_manager.cpp" )
31
31
32
- # wsjcpp-storages:v0.0.1
32
+ # wsjcpp-storages:v0.1.3
33
33
list (APPEND WSJCPP_INCLUDE_DIRS "../src" )
34
34
list (APPEND WSJCPP_SOURCES "../src/wsjcpp_storages.cpp" )
35
35
list (APPEND WSJCPP_SOURCES "../src/wsjcpp_storages.h" )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ wsjcpp_version: v0.0.1
2
2
cmake_minimum_required : 3.0
3
3
cmake_cxx_standard : 11
4
4
name : wsjcpp-storages
5
- version : v0.1.2
5
+ version : v0.1.3
6
6
description : Abstraction Model for work with different databases
7
7
issues : https://github.com/wsjcpp/wsjcpp-storages/issues
8
8
keywords :
You can’t perform that action at this time.
0 commit comments