Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
func Migrate(state migrations.State) migrations.State
Types ¶
type CollectionRecord ¶
type CollectionRecord struct { Key string `db:"key"` Proto []byte `db:"proto"` CreatedAt time.Time `db:"createdat"` UpdatedAt time.Time `db:"updatedat"` }
CollectionRecord is a record in a collections table.
type Project ¶
type Project struct { ID uint64 `db:"id"` Name string `db:"name"` Description string `db:"description"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` }
Project is a row in the new relational core.projects table.
func ListProjectsFromCollection ¶
ListProjectsFromCollection iterates over all projects in the collections.projects table and returns a list of Project objects that satisfy the relational model.
Click to show internal directories.
Click to hide internal directories.