diff --git a/app/Instance.php b/app/Instance.php new file mode 100644 index 000000000..e9a61acaa --- /dev/null +++ b/app/Instance.php @@ -0,0 +1,10 @@ +bigIncrements('id'); + $table->string('domain')->unique()->index(); + $table->string('url')->nullable(); + $table->string('name')->nullable(); + $table->string('admin_url')->nullable(); + $table->string('limit_reason')->nullable(); + $table->boolean('unlisted')->default(false); + $table->boolean('auto_cw')->default(false); + $table->boolean('banned')->default(false); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('instances'); + } +}