From eda622cb3b37c401f74be60b21d3a9a3fb34c440 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 4 Jan 2016 16:00:32 +0100 Subject: Migrations: stems, tenses, roots, verbs, translations --- .../2016_01_04_143655_create_roots_table.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2016_01_04_143655_create_roots_table.php (limited to 'database/migrations/2016_01_04_143655_create_roots_table.php') diff --git a/database/migrations/2016_01_04_143655_create_roots_table.php b/database/migrations/2016_01_04_143655_create_roots_table.php new file mode 100644 index 0000000..1828bfd --- /dev/null +++ b/database/migrations/2016_01_04_143655_create_roots_table.php @@ -0,0 +1,32 @@ +increments('id'); + $table->string('root', 24)->collate('utf8_general_ci')->unique(); + $table->boolean('strong'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('roots'); + } +} -- cgit v1.2.3