diff options
author | Camil Staps | 2015-02-17 00:06:02 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-17 00:06:02 +0100 |
commit | 9b8d1940a1d7e8efffd76e2a3f6352d370294230 (patch) | |
tree | cd0a846a53ba61d9b27382b58947a63482f445e4 /backyard/php-api/trunk/database | |
parent | Added PHP API framework (diff) |
Changed to dingo API
Diffstat (limited to 'backyard/php-api/trunk/database')
6 files changed, 0 insertions, 90 deletions
diff --git a/backyard/php-api/trunk/database/.gitignore b/backyard/php-api/trunk/database/.gitignore deleted file mode 100644 index 9b1dffd..0000000 --- a/backyard/php-api/trunk/database/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.sqlite diff --git a/backyard/php-api/trunk/database/migrations/.gitkeep b/backyard/php-api/trunk/database/migrations/.gitkeep deleted file mode 100644 index e69de29..0000000 --- a/backyard/php-api/trunk/database/migrations/.gitkeep +++ /dev/null diff --git a/backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php b/backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php deleted file mode 100644 index 36a1db9..0000000 --- a/backyard/php-api/trunk/database/migrations/2014_10_12_000000_create_users_table.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php - -use Illuminate\Database\Schema\Blueprint; -use Illuminate\Database\Migrations\Migration; - -class CreateUsersTable extends Migration { - - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::create('users', function(Blueprint $table) - { - $table->increments('id'); - $table->string('name'); - $table->string('email')->unique(); - $table->string('password', 60); - $table->rememberToken(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('users'); - } - -} diff --git a/backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php b/backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php deleted file mode 100644 index 679df38..0000000 --- a/backyard/php-api/trunk/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php - -use Illuminate\Database\Schema\Blueprint; -use Illuminate\Database\Migrations\Migration; - -class CreatePasswordResetsTable extends Migration { - - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::create('password_resets', function(Blueprint $table) - { - $table->string('email')->index(); - $table->string('token')->index(); - $table->timestamp('created_at'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('password_resets'); - } - -} diff --git a/backyard/php-api/trunk/database/seeds/.gitkeep b/backyard/php-api/trunk/database/seeds/.gitkeep deleted file mode 100644 index e69de29..0000000 --- a/backyard/php-api/trunk/database/seeds/.gitkeep +++ /dev/null diff --git a/backyard/php-api/trunk/database/seeds/DatabaseSeeder.php b/backyard/php-api/trunk/database/seeds/DatabaseSeeder.php deleted file mode 100644 index b3c69b5..0000000 --- a/backyard/php-api/trunk/database/seeds/DatabaseSeeder.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -use Illuminate\Database\Seeder; -use Illuminate\Database\Eloquent\Model; - -class DatabaseSeeder extends Seeder { - - /** - * Run the database seeds. - * - * @return void - */ - public function run() - { - Model::unguard(); - - // $this->call('UserTableSeeder'); - } - -} |