This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script comunas, regiones, provincias Junio 2022 | |
DROP TABLE IF EXISTS `comunas`; | |
CREATE TABLE `comunas` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`comuna` varchar(64) NOT NULL, | |
`provincia_id` int(11) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM AUTO_INCREMENT=346 DEFAULT CHARSET=utf8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models; | |
use Auth; | |
use Illuminate\Database\Eloquent\Model as BaseModel; | |
class Model extends BaseModel | |
{ | |
protected $userAttributes = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Console\Command; | |
use Symfony\Component\Console\Formatter\OutputFormatterStyle; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Input\InputArgument; | |
class RunTests extends Command | |
{ |