1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00
doctrine2/models/VersioningTest.php

10 lines
248 B
PHP

<?php
class VersioningTest extends Doctrine_Record
{
public static function initMetadata($class)
{
$class->setColumn('name', 'string');
$class->setColumn('version', 'integer');
$class->actAs('Versionable');
}
}