do not print white characters in log for the first migration
This commit is contained in:
parent
3b5658ff8f
commit
9e222f5b80
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021, Tomasz Sowa
|
* Copyright (c) 2021-2022, Tomasz Sowa
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -115,13 +115,11 @@ bool Migration::do_migration(int & current_table_version)
|
||||||
|
|
||||||
bool Migration::create_winix_schema()
|
bool Migration::create_winix_schema()
|
||||||
{
|
{
|
||||||
// may the name of a schema (core) should be a parameter in the config?
|
const char * str[] = {
|
||||||
|
"create schema if not exists core",
|
||||||
|
};
|
||||||
|
|
||||||
const char * str = R"sql(
|
return db_query(str, sizeof(str) / sizeof(const char*));
|
||||||
create schema if not exists core
|
|
||||||
)sql";
|
|
||||||
|
|
||||||
return db_query(str);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue