Commit 6c38609d authored by Maik Messerschmidt's avatar Maik Messerschmidt
Browse files

Be more strict with input id field in db.

parent 2116e943
......@@ -14,7 +14,11 @@ class CreateInputsTable extends Migration
public function up()
{
Schema::create('inputs', function (Blueprint $table) {
$table->uuid('id');
$table
->uuid('id')
->unique()
->nullable(false)
->comment('Unique id for this input data.');
$table->timestamps();
$table
->string('increments')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment