Whats the name of your table?
This is how I parse the documentation: https://laravel.com/docs/5.2/migrations#creating-columns
Lets say for example the name of your table is "users", and the column you wanna add is "location". I'd try this
Schema::table('users', function ($table) {
$table->string('location');
});
thank you for given reply !
but not clear about your answer . actual my question is : need to create migrations , but laravel not support the Geometric Types (Box,Circle,Line,Line Segment,Path,Point, Polygon) when using the postgresql . how to do this ?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community