Difference between revisions of "Database Table: moods"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'moods =Definition= <source lang="sql"> CREATE TABLE moods ( moodid int(10) unsigned NOT NULL auto_increment, mood varchar(40) default NULL, par...')
 
Line 1: Line 1:
[[Category: Database Table|moods]]
+
= Definition =
=Definition=
+
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE moods (
 
CREATE TABLE moods (
Line 11: Line 11:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 +
= Location =
  
=Location=
 
 
[[Global database]]
 
[[Global database]]
 +
 +
[[Category: Database Tables|moods]]

Revision as of 14:55, 1 April 2009

Definition

CREATE TABLE moods (
  moodid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  mood VARCHAR(40) DEFAULT NULL,
  parentmood INT(10) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY  (moodid),
  UNIQUE KEY mood (mood)
)

Relationships

Location

Global database