Web frontend work

This commit is contained in:
Deon George
2021-05-13 22:40:21 +10:00
parent 834ece2645
commit 5e5d0d6c3d
20 changed files with 722 additions and 21 deletions

View File

@@ -14,12 +14,13 @@ class CreateZones extends Migration
public function up()
{
Schema::create('zones', function (Blueprint $table) {
$table->integer('id')->primary();
$table->id();
$table->timestamps();
$table->integer('zone_id');
$table->string('description')->nullable();
$table->boolean('active')->default(TRUE);
$table->boolean('active');
$table->string('notes')->nullable();
$table->boolean('public')->default(TRUE);
$table->ipAddress('ipv4')->nullable();
@@ -33,6 +34,8 @@ class CreateZones extends Migration
$table->binary('zt_id',10)->nullable()->unique();
$table->foreign('zt_id')->references('id')->on('zt');
$table->unique(['zone_id','domain_id']);
});
}