 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package fix contains functions for repairing the database data.
Index ¶
Constants ¶
      View Source
      
  
const (
	UpdateSet = "UPDATE files SET "
)
    Variables ¶
      View Source
      
  
var ErrRepair = errors.New("invalid repair option")
    Functions ¶
func Magics ¶ added in v0.17.0
func Magics(exec boil.ContextExecutor) error
Magics will set invalid file_magic_type to NULL. Invalid file_magic_type values are those that start with "ERROR: " or contain a "/" such as a mime-type.
func SyncFilesIDSeq ¶ added in v1.0.6
SyncFilesIDSeq will synchronize the files ID sequence with the current maximum ID.
This will only work with the correct database account permissions.
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.