diff --git a/tests/migrations/2015_12_12_200152_create_tools_table.php b/tests/migrations/2015_12_12_200152_create_tools_table.php new file mode 100644 index 0000000..c39c857 --- /dev/null +++ b/tests/migrations/2015_12_12_200152_create_tools_table.php @@ -0,0 +1,34 @@ +increments('id'); + $table->string('name')->nullable(); + $table->string('description')->nullable(); + + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('tools'); + } +} diff --git a/tests/models/Tool.php b/tests/models/Tool.php new file mode 100644 index 0000000..495d086 --- /dev/null +++ b/tests/models/Tool.php @@ -0,0 +1,15 @@ +