Формат времени в миграции laravel? ⇐ Php
-
Гость
Формат времени в миграции laravel?
I want to have an input, where you put a time in EU format like 12:00 or 21:34. (hh:mm) How do I do that?
Schema::create('posts', function (Blueprint $table) { $table->increments('id'); $table->string('title'); $table->string('arena'); $table->date("h,i"('beginn')); $table->timestamps(); }); This is what I have, but it's obviously wrong.
Источник: https://stackoverflow.com/questions/499 ... -migration
I want to have an input, where you put a time in EU format like 12:00 or 21:34. (hh:mm) How do I do that?
Schema::create('posts', function (Blueprint $table) { $table->increments('id'); $table->string('title'); $table->string('arena'); $table->date("h,i"('beginn')); $table->timestamps(); }); This is what I have, but it's obviously wrong.
Источник: https://stackoverflow.com/questions/499 ... -migration
Мобильная версия