You are here

function _serial_create_table in Serial Field 6

Same name and namespace in other branches
  1. 7 serial.inc \_serial_create_table()

Creates an assistant serial table for a new created field.

Parameters

$field a new serial field:

1 call to _serial_create_table()
serial_content_fieldapi in ./serial.module
Implementation of hook_fieldapi().

File

./serial.inc, line 21
Internal functions for the Serial module.

Code

function _serial_create_table($field) {
  $table = _serial_get_field_table_name($field);
  $schema = _serial_get_table_schema();
  db_create_table($ret, $table, $schema);
}