Commit 2137ba63 authored by Jack Stupple's avatar Jack Stupple
Browse files

add length to email to allow for unique index

parent 57296b80
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,8 +17,8 @@ class AdminUsers extends Migration
            $table->increments('id');
            $table->integer('admin_user_group_id')->unsigned();
            $table->string('full_name');
            $table->string('email');
            $table->string('password');
            $table->string('email', 100);
            $table->string('password', 100);
            $table->timestamps();
            $table->softDeletes(); // this means that we can keep ahold of old users but prevent access