7 lines
300 B
SQL
7 lines
300 B
SQL
DROP TABLE IF EXISTS `character_friends`;
|
|
CREATE TABLE IF NOT EXISTS `character_friends` (
|
|
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
|
|
`friendId` INT UNSIGNED NOT NULL DEFAULT 0,
|
|
`relation` INT UNSIGNED NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (`charId`,`friendId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |