[UPDATE] Adding monster looks to db (#220)

* [UPDATE] Adding monster looks to db

* small adjustments

add into schema.sql + change position in table

* add DEFAULT = ''

---------

Co-authored-by: slawkens <slawkens@gmail.com>
This commit is contained in:
Matheus Collier
2023-03-31 04:04:13 -03:00
committed by GitHub
parent 7569536d56
commit fd419076c2
5 changed files with 38 additions and 2 deletions

3
system/migrations/35.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
// add look column
$db->exec('ALTER TABLE `' . TABLE_PREFIX . "monsters` ADD `look` VARCHAR(255) NOT NULL DEFAULT '' AFTER `health`;");