getting ready to move wiki registration over
This commit is contained in:
@@ -19,6 +19,9 @@ class CreateWikiUsers extends Migration
|
||||
$table->string('pass');
|
||||
$table->string('name');
|
||||
$table->string('mail')->default('')->nullable();
|
||||
$table->primary('id');
|
||||
$table->unique('id', 'id');
|
||||
$table->unique('login', 'user');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@ class CreateWikiGroupnames extends Migration
|
||||
Schema::create('wiki_groupnames', function(Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('gname');
|
||||
$table->primary('id');
|
||||
$table->unique('id', 'id');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ class CreateWikiMember extends Migration
|
||||
$table->integer('uid');
|
||||
$table->integer('gid');
|
||||
$table->string('groupname');
|
||||
$table->primary(['uid', 'gid']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user