laravel_cities icon indicating copy to clipboard operation
laravel_cities copied to clipboard

The seeder code is not flexible enough

Open chuoke opened this issue 5 years ago • 0 comments

First I really thanks for your doing, this is a great packge. And I hope this packge can be more wonderful.

I think there some code is not flexible, such as

$sql = 'SELECT MAX("right") as maxRight FROM geo';

Most case there has table prefix, full table name will be like prefix_geo.

By the way, what do you think of using Laravel Eloquent Model? Or using a config table name.

I hope I can pull some requests to contribute, but I don't know anything about geo system.

Thank you again.

chuoke avatar Nov 25 '19 07:11 chuoke