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
/** | |
* Adwords Uptime Robot Monitoring script | |
* | |
* Script that checks whether the websites that the Adword campaigns rely on are still live | |
* and respond fast enough, or if not, pause the related campaigns. | |
* | |
* Services used to determine uptime: | |
* - Uptime Robot | |
* | |
* @version 0.1.0 |
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 | |
Schema::create('users' , function($table) | |
{ | |
$table->increments('id'); Incrementing ID to the table (primary key). | |
$table->string('email'); VARCHAR equivalent column | |
$table->string('name', 100); VARCHAR equivalent with a length | |
$table->integer('votes'); INTEGER equivalent to the table |