diff --git a/app/LodestoneCache.php b/app/LodestoneCache.php index 6459a0d..c169b4b 100644 --- a/app/LodestoneCache.php +++ b/app/LodestoneCache.php @@ -10,6 +10,8 @@ class LodestoneCache extends Model protected $fillable = [ 'type', + 'server', + 'name', 'lodestoneId', 'content' ]; diff --git a/database/migrations/2020_08_28_193022_create_lodestone_caches_table.php b/database/migrations/2020_08_28_193022_create_lodestone_caches_table.php index 420b232..184f80a 100644 --- a/database/migrations/2020_08_28_193022_create_lodestone_caches_table.php +++ b/database/migrations/2020_08_28_193022_create_lodestone_caches_table.php @@ -16,6 +16,8 @@ class CreateLodestoneCachesTable extends Migration Schema::create('lodestone_caches', function (Blueprint $table) { $table->id(); $table->integer('type'); + $table->string('server', 64); + $table->string('name', 255); $table->bigInteger('lodestoneId'); $table->text('content'); $table->timestamps();