add primary keys definition to migration rules
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021, Tomasz Sowa
|
||||
* Copyright (c) 2021-2022, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -273,7 +273,6 @@ public:
|
||||
* what about clear() from Model?
|
||||
*/
|
||||
void Clear();
|
||||
bool do_migration(int & current_table_version);
|
||||
|
||||
static bool CanContentBeHtmlFiltered(ItemContent::ContentType ct);
|
||||
static void print_content(HtmlTextStream & out, const pt::WTextStream & content, ItemContent::ContentType content_type, bool is_html_filter_on);
|
||||
@@ -312,11 +311,13 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
bool do_migration(int & current_table_version);
|
||||
bool do_migration_to_1();
|
||||
bool do_migration_to_2();
|
||||
bool do_migration_to_3();
|
||||
bool do_migration_to_4();
|
||||
bool do_migration_to_5();
|
||||
bool do_migration_to_6();
|
||||
|
||||
bool has_access(const User * current_user, int mask) const;
|
||||
bool content_type_is(const std::wstring & type);
|
||||
|
Reference in New Issue
Block a user