code: func (db *SQLDB) createTableTriggers(table *types.SQLTable) error {
  	// If the adapter supports notification triggers
  	dbNotify, ok := db.DBAdapter.(adapters.DBNotifyTriggerAdapter)
  	if ok {
  		for channel, columns := range table.NotifyChannels {
  			function := fmt.Sprintf("%s_%s_notify_function", table.Name, channel)
  
  			query := dbNotify.CreateNotifyFunctionQuery(function, channel, columns...)
  			db.Log.Info("msg", "CREATE NOTIFICATION FUNCTION", "query", query)
  			_, err := db.DB.Exec(query)
  			if err != nil {
  				return fmt.Errorf("could not create notification function: %v", err)
  			}
  
  			trigger := fmt.Sprintf("%s_%s_notify_trigger", table.Name, channel)
  			query = dbNotify.CreateTriggerQuery(trigger, table.Name, function)
  			db.Log.Info("msg", "CREATE NOTIFICATION TRIGGER", "query", query)
  			_, err = db.DB.Exec(query)
  			if err != nil {
  				return fmt.Errorf("could not create notification trigger: %v", err)
  			}
  		}
  	}
  	return nil
  }
docs: // Creates (or updates) table notification triggers and functions