add db/ReadOnlyActiveRecord.php