in database/migrations/2018_04_04_220850_create_default_modules_table.php [15:92]
public function up()
{
Schema::create('default_contact_modules', function (Blueprint $table) {
$table->increments('id');
$table->string('key');
$table->string('translation_key');
$table->boolean('delible')->default(0);
$table->boolean('active')->default(1);
$table->boolean('migrated')->default(0);
$table->timestamps();
});
DB::table('default_contact_modules')->insert([
[
'key' => 'love_relationships',
'translation_key' => 'app.relationship_type_group_love',
],
[
'key' => 'family_relationships',
'translation_key' => 'app.relationship_type_group_family',
],
[
'key' => 'other_relationships',
'translation_key' => 'app.relationship_type_group_other',
],
[
'key' => 'pets',
'translation_key' => 'people.pets_title',
],
[
'key' => 'contact_information',
'translation_key' => 'people.section_contact_information',
],
[
'key' => 'addresses',
'translation_key' => 'people.contact_address_title',
],
[
'key' => 'how_you_met',
'translation_key' => 'people.introductions_sidebar_title',
],
[
'key' => 'work_information',
'translation_key' => 'people.work_information',
],
[
'key' => 'food_preferences',
'translation_key' => 'people.food_preferencies_title',
],
[
'key' => 'notes',
'translation_key' => 'people.section_personal_notes',
],
[
'key' => 'phone_calls',
'translation_key' => 'people.call_title',
],
[
'key' => 'activities',
'translation_key' => 'people.activity_title',
],
[
'key' => 'reminders',
'translation_key' => 'people.section_personal_reminders',
],
[
'key' => 'tasks',
'translation_key' => 'people.section_personal_tasks',
],
[
'key' => 'gifts',
'translation_key' => 'people.gifts_title',
],
[
'key' => 'debts',
'translation_key' => 'people.debt_title',
], ]);
}