add primary keys definition to migration rules

This commit is contained in:
2022-12-19 19:13:45 +01:00
parent 9c0cd6eb5e
commit 4583ab28ed
8 changed files with 56 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2008-2021, Tomasz Sowa
* Copyright (c) 2008-2022, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -145,8 +145,6 @@ public:
void clear_passwords();
bool do_migration(int & current_table_version);
void display_name(EzcEnv & env);
@@ -156,8 +154,10 @@ public:
private:
bool do_migration(int & current_table_version);
bool do_migration_to_1();
bool do_migration_to_2();
bool do_migration_to_3();
void id_is(EzcEnv & env); // takes one argument as a user id
bool is_guest();