From 9d1a810fa983a045294e6d0b8ad761f5dbfb8939 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 5 Dec 2018 17:31:36 +0100 Subject: Initial commit (actually already finished) --- .../2018_12_05_152926_create_quotes_table.php | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 database/migrations/2018_12_05_152926_create_quotes_table.php (limited to 'database/migrations') diff --git a/database/migrations/2018_12_05_152926_create_quotes_table.php b/database/migrations/2018_12_05_152926_create_quotes_table.php new file mode 100644 index 0000000..b20d4e1 --- /dev/null +++ b/database/migrations/2018_12_05_152926_create_quotes_table.php @@ -0,0 +1,33 @@ +increments('id'); + $table->string('quote'); + $table->string('quotist'); // NEOLOGISM - the one who said the quote + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('quotes'); + } +} -- cgit v1.2.3