added event migration

This commit is contained in:
Vedde 2020-06-29 12:54:43 +02:00
parent 4020fcf502
commit 7b691b8c94
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="Laravel.sqlite" uuid="428bc9e4-1a43-4d98-aec6-555a9cf65fb5">
<data-source source="LOCAL" name="laravel.sqlite" uuid="2ea08053-eec3-43f2-8f7e-59e448f603dd">
<driver-ref>sqlite.xerial</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>

View File

@ -17,6 +17,7 @@ class CreateEvents extends Migration
$table->id();
$table->string("name");
$table->string("description");
$table->dateTime("date");
$table->timestamps();
});
}