Skip to content

Commit

Permalink
Merge pull request #651 from portabilis/ieducar-links-migration
Browse files Browse the repository at this point in the history
[2.2] Migration para alterar links da comunidade
  • Loading branch information
edersoares authored Sep 3, 2019
2 parents c66b296 + 69b39aa commit 35b4028
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions database/migrations/2019_09_01_100000_community_links.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

class CommunityLinks extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('pmieducar.configuracoes_gerais')->where('ref_cod_instituicao', 1)->update([
'ieducar_login_footer' => '<p>Comunidade i-Educar - <a class="light" href="https://forum.ieducar.org/" target="_blank"> Obter Suporte </a></p>',
'ieducar_external_footer' => '<p>Conheça mais sobre o i-Educar, acesse nosso <a href="https://ieducar.org/blog/">blog</a>.</p>',
'ieducar_internal_footer' => '<p>Conheça mais sobre o i-Educar, acesse nosso <a href="https://ieducar.org/blog/">blog</a>.</p>',
]);
}
}

0 comments on commit 35b4028

Please sign in to comment.