• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Baza

Status
Not open for further replies.

BugaS

Donżuan
Joined
Mar 12, 2009
Messages
1,219
Reaction score
9
Location
NYC
Mam takie zapytanie:
CREATE TABLE IF NOT EXISTS `war_system_frags` (
`id` int(11) NOT NULL auto_increment,
`killer` INT NOT NULL,
`player` INT NOT NULL,
`guild` int(11) NOT NULL DEFAULT 0,
`level` int(11) NOT NULL DEFAULT 0,
`date` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
`war_id` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
FOREIGN KEY (`killer`) REFERENCES `players`(`id`) ON DELETE CASCADE,
FOREIGN KEY (`player`) REFERENCES `players`(`id`) ON DELETE CASCADE,
FOREIGN KEY (`guild`) REFERENCES `guilds`(`id`) ON DELETE CASCADE
) ENGINE = InnoDB;

Legalnie kupiony system od Piotrka.

I bum bum i wanna u in my room:

#1005 - Can't create table 'bugas_ots.war_system_frags' (errno: 150)
 
Last edited:
killers?

EDIT:
nie to, spalem jeszcze piszac tego posta ;)

Sproboj jeszcze przed tym dac:

LUA:
SET foreign_key_checks = 0;
 
Last edited:
150 = Foreign key constraint is incorrectly formed

#1072 - Key column 'killers' doesn't exist in table
Yhy
Columna 'killers' nie istnieje w tabeli :D

Tylko, że ty ją tworzysz xD
 
Status
Not open for further replies.
Back
Top