func (pb *Publish) AutoMigrate(values ...interface{}) {
	for _, value := range values {
		tableName := pb.DB.NewScope(value).TableName()
		pb.DraftDB().Table(DraftTableName(tableName)).AutoMigrate(value)
	}
}
// AutoMigrate run auto migrate in draft tables
AutoMigrate run auto migrate in draft tables
// AutoMigrate run auto migrate in draft tables
func (pb *Publish) AutoMigrate(values ...interface{}) {
	for _, value := range values {
		tableName := pb.DB.NewScope(value).TableName()
		pb.DraftDB().Table(DraftTableName(tableName)).AutoMigrate(value)
	}
}
func ( pb * Publish ) AutoMigrate ( values ... interface { } ) { for _ , value := range values { tableName := pb . DB . NewScope ( value ) . TableName ( ) pb . DraftDB ( ) . Table ( DraftTableName ( tableName ) ) . AutoMigrate ( value ) } }
AutoMigrate run auto migrate in draft tables
AutoMigrate run auto migrate in draft tables