Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Models = []interface{}{ &models.Paste{}, &models.APIKey{}, &models.Shortlink{}, &models.AnalyticsEvent{}, }
Models is a list of all models that need to be migrated
Functions ¶
func DropAllTables ¶
func RunMigrations ¶
RunMigrations runs all necessary database migrations
Types ¶
Click to show internal directories.
Click to hide internal directories.