Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('SYSPATH') or die('No direct access allowed.');
- class Model_Update extends Jelly_Model
- {
- public static function initialize(Jelly_Meta $meta)
- {
- $meta->table('rvj_updates')
- ->fields(array(
- 'id' => new Field_Primary,
- 'date' => new Field_Timestamp,
- 'section' => new Field_Integer,
- 'type' => new Field_Integer,
- 'description' => new Field_Text,
- 'url' => new Field_Text,
- 'custom_message' => new Field_Text,
- ));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement