jsob migrations

This commit is contained in:
lexx committed 2023-10-15 02:04:34 +03:00
1 parent a1d008de19
commit 965c9fc1c0
3 files changed
+9 -6

No files matched your search

@@ -16,9 +16,9 @@ return new class extends Migration {
$table->uuid('id')->primary();
$table->string('schema');
$table->string('status');
$table->json('data');
$table->json('_sys');
$table->json('_file');
$table->jsonb('data');
$table->jsonb('_sys');
$table->jsonb('_file');
$table->index(['schema', 'status']);
});
@@ -16,9 +16,9 @@ return new class extends Migration {
$table->uuid('id')->primary();
$table->uuid('recordId');
$table->string('schema');
$table->json('data');
$table->json('_sys');
$table->json('_file');
$table->jsonb('data');
$table->jsonb('_sys');
$table->jsonb('_file');
});
}