Skip to content

Instantly share code, notes, and snippets.

View gdespirito's full-sized avatar

Gonzalo De Spírito gdespirito

View GitHub Profile
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePeopleTable extends Migration
{
/**
* Run the migrations.
@gdespirito
gdespirito / ChileanTableSeeder.php
Created September 17, 2018 03:16
Table Seeder para cargar regiones y comunas de chile en Laravel (2018). Incluyendo nueva Región de Ñuble.
<?php
use Illuminate\Database\Seeder;
class ChileTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
# ************************************************************
# Tabla de Regiones y Comunas de Chile (incluyendo Ñuble) 2018
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
@gdespirito
gdespirito / 2017_11_21_144804_create_regions_table.php
Last active February 23, 2023 17:55
Comunas y regiones de Chile - 2017 | Migraciones y Seeders para Laravel
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRegionsTable extends Migration
{
/**
* Run the migrations.
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {