schema

package
v0.0.0-...-47e0bda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FavoriteSchema

type FavoriteSchema struct {
	// Unique identifier of the favorite
	ID string `sql:"id UUID PRIMARY KEY DEFAULT gen_random_uuid()"`

	// The user to which this favorite belong. The user id
	// will be their email as returned by uber-proxy auth
	UserId string `sql:"user_id STRING NOT NULL"`

	// Name of the favorite
	Name string `sql:"name STRING"`

	// A URL attached to the favorite
	Url string `sql:"url STRING NOT NULL"`

	// A short description of what this favorite is about
	Description string `sql:"description STRING"`

	// Stored as a Unix timestamp.
	LastModified int `sql:"last_modified INT"`
	// contains filtered or unexported fields
}

FavoriteSchema represents the SQL schema of the Favorites table.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL