Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "node": {
- "description": "The base table for nodes.",
- "fields": {
- "nid": {
- "description": "The primary identifier for a node.",
- "type": "serial",
- "unsigned": true,
- "not null": true
- },
- "vid": {
- "description": "The current {node_revision}.vid version identifier.",
- "type": "int",
- "unsigned": true,
- "not null": false,
- "default": null
- },
- "type": {
- "description": "The {node_type}.type of this node.",
- "type": "varchar",
- "length": 32,
- "not null": true,
- "default": ""
- },
- "language": {
- "description": "The {languages}.language of this node.",
- "type": "varchar",
- "length": 12,
- "not null": true,
- "default": ""
- },
- "title": {
- "description": "The title of this node, always treated as non-markup plain text.",
- "type": "varchar",
- "length": 255,
- "not null": true,
- "default": ""
- },
- "uid": {
- "description": "The {users}.uid that owns this node; initially, this is the user that created it.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "status": {
- "description": "Boolean indicating whether the node is published (visible to non-administrators).",
- "type": "int",
- "not null": true,
- "default": 1
- },
- "created": {
- "description": "The Unix timestamp when the node was created.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "changed": {
- "description": "The Unix timestamp when the node was most recently saved.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "comment": {
- "description": "Whether comments are allowed on this node: 0 = no, 1 = closed (read only), 2 = open (read\/write).",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "promote": {
- "description": "Boolean indicating whether the node should be displayed on the front page.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "sticky": {
- "description": "Boolean indicating whether the node should be displayed at the top of lists in which it appears.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "tnid": {
- "description": "The translation set id for this node, which equals the node id of the source post in each set.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0
- },
- "translate": {
- "description": "A boolean indicating whether this translation page needs to be updated.",
- "type": "int",
- "not null": true,
- "default": 0
- }
- },
- "indexes": {
- "node_changed": [
- "changed"
- ],
- "node_created": [
- "created"
- ],
- "node_frontpage": [
- "promote",
- "status",
- "sticky",
- "created"
- ],
- "node_status_type": [
- "status",
- "type",
- "nid"
- ],
- "node_title_type": [
- "title",
- [
- "type",
- 4
- ]
- ],
- "node_type": [
- [
- "type",
- 4
- ]
- ],
- "uid": [
- "uid"
- ],
- "tnid": [
- "tnid"
- ],
- "translate": [
- "translate"
- ]
- },
- "unique keys": {
- "vid": [
- "vid"
- ]
- },
- "foreign keys": {
- "node_revision": {
- "table": "node_revision",
- "columns": {
- "vid": "vid"
- }
- },
- "node_author": {
- "table": "users",
- "columns": {
- "uid": "uid"
- }
- }
- },
- "primary key": [
- "nid"
- ]
- },
- "node_access": {
- "description": "Identifies which realm\/grant pairs a user must possess in order to view, update, or delete specific nodes.",
- "fields": {
- "nid": {
- "description": "The {node}.nid this record affects.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0
- },
- "gid": {
- "description": "The grant ID a user must possess in the specified realm to gain this row's privileges on the node.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0
- },
- "realm": {
- "description": "The realm in which the user must possess the grant ID. Each node access node can define one or more realms.",
- "type": "varchar",
- "length": 255,
- "not null": true,
- "default": ""
- },
- "grant_view": {
- "description": "Boolean indicating whether a user with the realm\/grant pair can view this node.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0,
- "size": "tiny"
- },
- "grant_update": {
- "description": "Boolean indicating whether a user with the realm\/grant pair can edit this node.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0,
- "size": "tiny"
- },
- "grant_delete": {
- "description": "Boolean indicating whether a user with the realm\/grant pair can delete this node.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0,
- "size": "tiny"
- }
- },
- "primary key": [
- "nid",
- "gid",
- "realm"
- ],
- "foreign keys": {
- "affected_node": {
- "table": "node",
- "columns": {
- "nid": "nid"
- }
- }
- }
- },
- "node_revision": {
- "description": "Stores information about each saved version of a {node}.",
- "fields": {
- "nid": {
- "description": "The {node} this version belongs to.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "default": 0
- },
- "vid": {
- "description": "The primary identifier for this version.",
- "type": "serial",
- "unsigned": true,
- "not null": true
- },
- "uid": {
- "description": "The {users}.uid that created this version.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "title": {
- "description": "The title of this version.",
- "type": "varchar",
- "length": 255,
- "not null": true,
- "default": ""
- },
- "log": {
- "description": "The log entry explaining the changes in this version.",
- "type": "text",
- "not null": true,
- "size": "big"
- },
- "timestamp": {
- "description": "A Unix timestamp indicating when this version was created.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "status": {
- "description": "Boolean indicating whether the node (at the time of this revision) is published (visible to non-administrators).",
- "type": "int",
- "not null": true,
- "default": 1
- },
- "comment": {
- "description": "Whether comments are allowed on this node (at the time of this revision): 0 = no, 1 = closed (read only), 2 = open (read\/write).",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "promote": {
- "description": "Boolean indicating whether the node (at the time of this revision) should be displayed on the front page.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "sticky": {
- "description": "Boolean indicating whether the node (at the time of this revision) should be displayed at the top of lists in which it appears.",
- "type": "int",
- "not null": true,
- "default": 0
- }
- },
- "indexes": {
- "nid": [
- "nid"
- ],
- "uid": [
- "uid"
- ]
- },
- "primary key": [
- "vid"
- ],
- "foreign keys": {
- "versioned_node": {
- "table": "node",
- "columns": {
- "nid": "nid"
- }
- },
- "version_author": {
- "table": "users",
- "columns": {
- "uid": "uid"
- }
- }
- }
- },
- "node_type": {
- "description": "Stores information about all defined {node} types.",
- "fields": {
- "type": {
- "description": "The machine-readable name of this type.",
- "type": "varchar",
- "length": 32,
- "not null": true
- },
- "name": {
- "description": "The human-readable name of this type.",
- "type": "varchar",
- "length": 255,
- "not null": true,
- "default": "",
- "translatable": true
- },
- "base": {
- "description": "The base string used to construct callbacks corresponding to this node type.",
- "type": "varchar",
- "length": 255,
- "not null": true
- },
- "module": {
- "description": "The module defining this node type.",
- "type": "varchar",
- "length": 255,
- "not null": true
- },
- "description": {
- "description": "A brief description of this type.",
- "type": "text",
- "not null": true,
- "size": "medium",
- "translatable": true
- },
- "help": {
- "description": "Help information shown to the user when creating a {node} of this type.",
- "type": "text",
- "not null": true,
- "size": "medium",
- "translatable": true
- },
- "has_title": {
- "description": "Boolean indicating whether this type uses the {node}.title field.",
- "type": "int",
- "unsigned": true,
- "not null": true,
- "size": "tiny"
- },
- "title_label": {
- "description": "The label displayed for the title field on the edit form.",
- "type": "varchar",
- "length": 255,
- "not null": true,
- "default": "",
- "translatable": true
- },
- "custom": {
- "description": "A boolean indicating whether this type is defined by a module (FALSE) or by a user via Add content type (TRUE).",
- "type": "int",
- "not null": true,
- "default": 0,
- "size": "tiny"
- },
- "modified": {
- "description": "A boolean indicating whether this type has been modified by an administrator; currently not used in any way.",
- "type": "int",
- "not null": true,
- "default": 0,
- "size": "tiny"
- },
- "locked": {
- "description": "A boolean indicating whether the administrator can change the machine name of this type.",
- "type": "int",
- "not null": true,
- "default": 0,
- "size": "tiny"
- },
- "disabled": {
- "description": "A boolean indicating whether the node type is disabled.",
- "type": "int",
- "not null": true,
- "default": 0,
- "size": "tiny"
- },
- "orig_type": {
- "description": "The original machine-readable name of this node type. This may be different from the current type name if the locked field is 0.",
- "type": "varchar",
- "length": 255,
- "not null": true,
- "default": ""
- }
- },
- "primary key": [
- "type"
- ]
- },
- "block_node_type": {
- "description": "Sets up display criteria for blocks based on content types",
- "fields": {
- "module": {
- "type": "varchar",
- "length": 64,
- "not null": true,
- "description": "The block's origin module, from {block}.module."
- },
- "delta": {
- "type": "varchar",
- "length": 32,
- "not null": true,
- "description": "The block's unique delta within module, from {block}.delta."
- },
- "type": {
- "type": "varchar",
- "length": 32,
- "not null": true,
- "description": "The machine-readable name of this type from {node_type}.type."
- }
- },
- "primary key": [
- "module",
- "delta",
- "type"
- ],
- "indexes": {
- "type": [
- "type"
- ]
- }
- },
- "history": {
- "description": "A record of which {users} have read which {node}s.",
- "fields": {
- "uid": {
- "description": "The {users}.uid that read the {node} nid.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "nid": {
- "description": "The {node}.nid that was read.",
- "type": "int",
- "not null": true,
- "default": 0
- },
- "timestamp": {
- "description": "The Unix timestamp at which the read occurred.",
- "type": "int",
- "not null": true,
- "default": 0
- }
- },
- "primary key": [
- "uid",
- "nid"
- ],
- "indexes": {
- "nid": [
- "nid"
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment