func AddPollsMessageHook(hookPoint boil.HookPoint, pollsMessageHook PollsMessageHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		pollsMessageBeforeInsertHooks = append(pollsMessageBeforeInsertHooks, pollsMessageHook)
	case boil.BeforeUpdateHook:
		pollsMessageBeforeUpdateHooks = append(pollsMessageBeforeUpdateHooks, pollsMessageHook)
	case boil.BeforeDeleteHook:
		pollsMessageBeforeDeleteHooks = append(pollsMessageBeforeDeleteHooks, pollsMessageHook)
	case boil.BeforeUpsertHook:
		pollsMessageBeforeUpsertHooks = append(pollsMessageBeforeUpsertHooks, pollsMessageHook)
	case boil.AfterInsertHook:
		pollsMessageAfterInsertHooks = append(pollsMessageAfterInsertHooks, pollsMessageHook)
	case boil.AfterSelectHook:
		pollsMessageAfterSelectHooks = append(pollsMessageAfterSelectHooks, pollsMessageHook)
	case boil.AfterUpdateHook:
		pollsMessageAfterUpdateHooks = append(pollsMessageAfterUpdateHooks, pollsMessageHook)
	case boil.AfterDeleteHook:
		pollsMessageAfterDeleteHooks = append(pollsMessageAfterDeleteHooks, pollsMessageHook)
	case boil.AfterUpsertHook:
		pollsMessageAfterUpsertHooks = append(pollsMessageAfterUpsertHooks, pollsMessageHook)
	}
}
// AddPollsMessageHook registers your hook function for all future operations.
AddPollsMessageHook registers your hook function for all future operations.
// AddPollsMessageHook registers your hook function for all future operations .
func AddPollsMessageHook(hookPoint boil.HookPoint, pollsMessageHook PollsMessageHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		pollsMessageBeforeInsertHooks = append(pollsMessageBeforeInsertHooks, pollsMessageHook)
	case boil.BeforeUpdateHook:
		pollsMessageBeforeUpdateHooks = append(pollsMessageBeforeUpdateHooks, pollsMessageHook)
	case boil.BeforeDeleteHook:
		pollsMessageBeforeDeleteHooks = append(pollsMessageBeforeDeleteHooks, pollsMessageHook)
	case boil.BeforeUpsertHook:
		pollsMessageBeforeUpsertHooks = append(pollsMessageBeforeUpsertHooks, pollsMessageHook)
	case boil.AfterInsertHook:
		pollsMessageAfterInsertHooks = append(pollsMessageAfterInsertHooks, pollsMessageHook)
	case boil.AfterSelectHook:
		pollsMessageAfterSelectHooks = append(pollsMessageAfterSelectHooks, pollsMessageHook)
	case boil.AfterUpdateHook:
		pollsMessageAfterUpdateHooks = append(pollsMessageAfterUpdateHooks, pollsMessageHook)
	case boil.AfterDeleteHook:
		pollsMessageAfterDeleteHooks = append(pollsMessageAfterDeleteHooks, pollsMessageHook)
	case boil.AfterUpsertHook:
		pollsMessageAfterUpsertHooks = append(pollsMessageAfterUpsertHooks, pollsMessageHook)
	}
}
func AddPollsMessageHook ( hookPoint boil . HookPoint , pollsMessageHook PollsMessageHook ) { switch hookPoint { case boil . BeforeInsertHook : pollsMessageBeforeInsertHooks = append ( pollsMessageBeforeInsertHooks , pollsMessageHook ) case boil . BeforeUpdateHook : pollsMessageBeforeUpdateHooks = append ( pollsMessageBeforeUpdateHooks , pollsMessageHook ) case boil . BeforeDeleteHook : pollsMessageBeforeDeleteHooks = append ( pollsMessageBeforeDeleteHooks , pollsMessageHook ) case boil . BeforeUpsertHook : pollsMessageBeforeUpsertHooks = append ( pollsMessageBeforeUpsertHooks , pollsMessageHook ) case boil . AfterInsertHook : pollsMessageAfterInsertHooks = append ( pollsMessageAfterInsertHooks , pollsMessageHook ) case boil . AfterSelectHook : pollsMessageAfterSelectHooks = append ( pollsMessageAfterSelectHooks , pollsMessageHook ) case boil . AfterUpdateHook : pollsMessageAfterUpdateHooks = append ( pollsMessageAfterUpdateHooks , pollsMessageHook ) case boil . AfterDeleteHook : pollsMessageAfterDeleteHooks = append ( pollsMessageAfterDeleteHooks , pollsMessageHook ) case boil . AfterUpsertHook : pollsMessageAfterUpsertHooks = append ( pollsMessageAfterUpsertHooks , pollsMessageHook ) } }
AddPollsMessageHook registers your hook function for all future operations.
AddPollsMessageHook registers your hook function for all future operations .