- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 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
);
}
Fike 14.05.2015 23:48 # 0