11 lines
222 B

#!/bin/bash
type="${0##*/}"
type="${type%_database-relation-joined}"
set-relation type "$type" || {
err "Could not set relation ${WHITE}type${NORMAL} to '$type'."
exit 1
}
. ./hooks/sql_database-relation-joined