• 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!

Mysql To Sqlite!

Druiden Keso

New Member
Joined
Jun 6, 2013
Messages
51
Reaction score
1
Could anyone help me to get this code its currently in mysql format and i want it into sqlite! :)

ALTER TABLE `players` ADD `cast` TINYINT NOT NULL DEFAULT '0',
ADD `castViewers` INT( 11 ) NOT NULL DEFAULT '0',
ADD `castDescription` VARCHAR( 255 ) NOT NULL
 
ALTER TABLE `players` ADD `cast` INTEGER NOT NULL DEFAULT '0',
ADD `castViewers` INTEGER NOT NULL DEFAULT '0',
ADD `castDescription` VARCHAR( 255 ) NOT NULL
 
Add them 1 by 1 (so run 3x)
Code:
ALTER TABLE "players" ADD "cast" INTEGER NOT NULL DEFAULT 0
ALTER TABLE "players" ADD "castViewers" INTEGER NOT NULL DEFAULT 0
ALTER TABLE "players" ADD "castDescription" VARCHAR(255) NOT NULL DEFAULT ''
 
Last edited:
Do you add the lines 1 by 1? So not all 3 at the same time?
Btw I use SQLite Manager, SQLite Studio sux :x, don't think it will make a difference though.
 
Back
Top