1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 04:04:04 +00:00

Model timestamps

This commit is contained in:
Samuel Štancl 2019-09-27 22:53:38 +02:00
parent 4b5554dcac
commit 6b103cd2cb
6 changed files with 10 additions and 6 deletions

View file

@ -17,9 +17,11 @@ class CreateTenantsTable extends Migration
{
Schema::create('tenants', function (Blueprint $table) {
$table->string('id', 36)->primary(); // 36 characters is the default uuid length
// (optional) your custom, indexed columns can go here
// (optional) your custom, indexed columns may go here
$table->json('data');
$table->timestamps();
});
}