Skip to content

Instantly share code, notes, and snippets.

@KyleAMathews
Created November 19, 2010 00:00
Show Gist options
  • Save KyleAMathews/705916 to your computer and use it in GitHub Desktop.
Save KyleAMathews/705916 to your computer and use it in GitHub Desktop.
function etherpad_field_settings($op, $field) {
switch ($op) {
// Code removed.
case 'database columns':
return array(
'etherpad_url' => array('type' => 'varchar', 'length' => 1024, 'not null' => FALSE,),
'etherpad_text' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
'attributes' => array('type' => 'text', 'size' => 'medium', 'not null' => FALSE),// Then add auto-generate etherpad function.
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment