Изменение таблицы Reports и добавление словарей
Обновлен SQL-запрос для создания таблицы `Reports`: значение по умолчанию для поля `Status` изменено с 'В процессе' на 'ожидает'. Добавлены статические переменные `userReportSteps` и `userReports` для хранения шагов отчетов пользователей и самих отчетов.
This commit is contained in:
parent
94d23ff86e
commit
63bc99fee9
@ -652,7 +652,7 @@ class Program
|
||||
Description TEXT NOT NULL,
|
||||
ReporterName TEXT NOT NULL,
|
||||
DateCreated DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
Status TEXT DEFAULT 'В процессе'
|
||||
Status TEXT DEFAULT 'ожидает'
|
||||
);
|
||||
";
|
||||
await createTableCommand.ExecuteNonQueryAsync();
|
||||
@ -666,6 +666,7 @@ class Program
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static Dictionary<long, int> userReportSteps = new Dictionary<long, int>();
|
||||
private static Dictionary<long, Report> userReports = new Dictionary<long, Report>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user