Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Labels:None
Description
Currently the following leads to an implicit drop table statement:
public function up(Schema $schema) { $schema->dropTable("foo"); }
However this should be an explicit operation that internally puts everything onto the "addSQL" stack, then resets the schema diffs to zero by cloning the current schema into the "diff schema" again.
public function up(Schema $schema) { $schema->dropTable("foo"); $this->syncSchema($schema); $schema->dropTable("bar"); $this->syncSchema($schema); }
Alright, I'll see what I can do. I have a feeling I will get a pretty good idea how everything works if I start digging into this one.