blob: 85b8256b9483d916fcc5a922242f90e7446a0363 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package nosql
import (
"v.io/v23/security/access"
"v.io/v23/services/syncbase/nosql"
)
// databaseData represents the persistent state of a Database.
type databaseData struct {
Name string
Version uint64 // covers the Perms field below
Perms access.Permissions
SchemaMetadata ?nosql.SchemaMetadata
}
// tableData represents the persistent state of a Table.
type tableData struct {
Name string
Perms access.Permissions
}