Files
vgstation13/code/modules/migrations/SS13_Prefs/004-add-space-dust.dm
DeityLink cfef0afef0 the Space Parallax update (#10085)
* parallax1

* parallax2

* parallax3

* parallax4

* parallax6

* parallax7

* parallax8

* parallax9

* parallax11

* parallax12

* parallax13

* parallax14 and changelog

* parallax15

* parallax16

* parallax17

* parallax18

* parallax19

* parallax21

* parallax22

* parallax23

* fixing conflicts again

* Fixing that sqlite Error

* parallax25

* sql

* sql (reverted from commit 257cc728669d083118f15fe5cc3fb55fad62b1e6)

* sqlagain
2016-05-31 21:48:51 +02:00

14 lines
415 B
Plaintext

/datum/migration/sqlite/ss13_prefs/_004
id = 4
name = "Add Space Dust"
/datum/migration/sqlite/ss13_prefs/_004/up()
if(!hasColumn("client","space_dust"))
return execute("ALTER TABLE `client` ADD COLUMN space_dust INTEGER DEFAULT 1")
return TRUE
/datum/migration/sqlite/ss13_prefs/_004/down()
if(hasColumn("client","space_dust"))
return execute("ALTER TABLE `client` DROP COLUMN space_dust")
return TRUE