- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
function buildUpdateTimestampTrigger($tableName) {
return
sprintf(
file_get_contents(SQL_FILES_PATH . 'updateTimestamp_PlPg.sql'),
strtolower($tableName) . '_updated'
) .
sprintf(
file_get_contents(SQL_FILES_PATH . 'updateTimestampTrigger.sql'),
$tableName
);
}
Комментарии (1) RSS