%PDF- %PDF-
Direktori : /var/www/tsi-crm/database/migrations/ |
Current File : /var/www/tsi-crm/database/migrations/2024_02_05_113239_accounts.php |
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::create('accounts', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('website'); $table->string('street'); $table->string('city'); $table->string('state'); $table->string('postalCode'); $table->string('country'); $table->string('emailAddress'); $table->string('officePhone'); $table->string('lbl_partita_iva'); $table->enum('lbl_stato', ['Attivo', 'Sospesa', 'Fallita']); $table->string('type'); $table->integer('idCategoria'); $table->string('assignedTo'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { // } };