From 8f6026de5ecd44cbe0fc0bcd47638a1ece860439 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 14 Dec 2021 12:34:01 +0100 Subject: Make table name a const in trait --- src/model/object_table.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/model/object_table.rs') diff --git a/src/model/object_table.rs b/src/model/object_table.rs index d743a2b6..9eec47ff 100644 --- a/src/model/object_table.rs +++ b/src/model/object_table.rs @@ -217,6 +217,8 @@ pub struct ObjectTable { } impl TableSchema for ObjectTable { + const TABLE_NAME: &'static str = "object"; + type P = String; type S = String; type E = Object; -- cgit v1.2.3