package
0.0.0-20201020011259-aba033f76660
Repository: https://github.com/qorx/qor.git
Documentation: pkg.go.dev
# Functions
AutoMigrate receives table arguments and create or update their table structure in database.
ResetDBTables reset given tables.
TestDB initialize a db for testing.
Truncate receives table arguments and truncate their content in database.
# Interfaces
Migratable defines interface for implementing post-migration actions such as adding constraints that arent's supported by Gorm's struct tags.