aboutsummaryrefslogtreecommitdiff
path: root/src/model/bucket_table.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2020-12-12 17:08:28 +0100
committerAlex <alex@adnab.me>2020-12-12 17:08:28 +0100
commite72c6d05753d6c3eb306622a56aefa96986c71af (patch)
tree9d0bc71d5483ed2a085856d4d1f17ed2f6f6f58f /src/model/bucket_table.rs
parent022b386a5085cad79d649a82846c41cad730920b (diff)
parent5c6c067b0ce4b9042ccfcdda5d4d31e208f00a27 (diff)
downloadgarage-e72c6d05753d6c3eb306622a56aefa96986c71af.tar.gz
garage-e72c6d05753d6c3eb306622a56aefa96986c71af.zip
Merge pull request 'Table+Model doc' (#22) from doc/model into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/22
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r--src/model/bucket_table.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs
index b7f24d71..11f103ff 100644
--- a/src/model/bucket_table.rs
+++ b/src/model/bucket_table.rs
@@ -8,6 +8,9 @@ use garage_util::error::Error;
use crate::key_table::PermissionSet;
+// We import the same file but in its version 0.1.0.
+// We can then access v0.1.0 data structures.
+// We use them to perform migrations.
use model010::bucket_table as prev;
#[derive(PartialEq, Clone, Debug, Serialize, Deserialize)]