2021-11-13 13:55:44 +02:00
|
|
|
// Code generated by "gocqlx/cmd/schemagen"; DO NOT EDIT.
|
|
|
|
|
|
2021-11-17 11:49:42 +01:00
|
|
|
package foobar
|
2021-11-13 13:55:44 +02:00
|
|
|
|
|
|
|
|
import "github.com/scylladb/gocqlx/v2/table"
|
|
|
|
|
|
2021-11-17 11:49:42 +01:00
|
|
|
// Table models.
|
|
|
|
|
var (
|
|
|
|
|
Playlists = table.New(table.Metadata{
|
|
|
|
|
Name: "playlists",
|
|
|
|
|
Columns: []string{
|
|
|
|
|
"album",
|
|
|
|
|
"artist",
|
|
|
|
|
"id",
|
|
|
|
|
"song_id",
|
|
|
|
|
"title",
|
|
|
|
|
},
|
|
|
|
|
PartKey: []string{
|
|
|
|
|
"id",
|
|
|
|
|
},
|
|
|
|
|
SortKey: []string{
|
|
|
|
|
"title",
|
|
|
|
|
"album",
|
|
|
|
|
"artist",
|
|
|
|
|
},
|
|
|
|
|
})
|
2021-11-13 13:55:44 +02:00
|
|
|
|
2021-11-17 11:49:42 +01:00
|
|
|
Songs = table.New(table.Metadata{
|
|
|
|
|
Name: "songs",
|
|
|
|
|
Columns: []string{
|
|
|
|
|
"album",
|
|
|
|
|
"artist",
|
|
|
|
|
"data",
|
|
|
|
|
"id",
|
|
|
|
|
"tags",
|
|
|
|
|
"title",
|
|
|
|
|
},
|
|
|
|
|
PartKey: []string{
|
|
|
|
|
"id",
|
|
|
|
|
},
|
|
|
|
|
SortKey: []string{},
|
|
|
|
|
})
|
|
|
|
|
)
|