Commit 15d0754e authored by Nicolas Widart's avatar Nicolas Widart

Changing migrations

parent fc3b4703
......@@ -14,6 +14,7 @@ class CreateSettingsTable extends Migration
{
Schema::create('settings', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->timestamps();
});
}
......
......@@ -17,7 +17,6 @@ class CreateSettingTranslationsTable extends Migration {
$table->increments('id');
$table->integer('setting_id')->unsigned();
$table->string('locale')->index();
$table->string('name');
$table->string('value');
$table->text('description');
$table->unique(['setting_id','locale']);
......
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