Code-Generator icon indicating copy to clipboard operation
Code-Generator copied to clipboard

Non existing tables

Open krebbi opened this issue 5 years ago • 3 comments

Hi and Thanks for your Plugin!

Why is it showing two tables in the Entity View which are not in the DB (User & Post) ? And how to get rid of them? Bildschirmfoto 2021-02-03 um 11 40 36

krebbi avatar Feb 03 '21 10:02 krebbi

Those two tables are examples. To delete them, go to Entity page, then Property tab, click - button. delete

GooGee avatar Feb 03 '21 13:02 GooGee

Great, thx!

And a second question: when modifying a table I only find the "CreateXXXXTable" file. Is there also a file which alters the existing table?

Schema::table('XXXX', function (Blueprint $table) { $table->string('whatever'); $table->bigInteger('anotherone'); });

krebbi avatar Feb 03 '21 13:02 krebbi

Nope, only create is available.

GooGee avatar Feb 04 '21 02:02 GooGee