new update
This commit is contained in:
@@ -26,6 +26,19 @@ final class WarehouseModify20 extends AbstractMigration {
|
||||
->addColumn("createBy", "integer", ["default" => 1])
|
||||
->create(); // Use create() instead of save() for new tables
|
||||
}
|
||||
|
||||
$WarehouseCategoryTable = $this->table("WarehouseCategory", ['id' => 'id', 'signed' => false]);
|
||||
if (!$WarehouseCategoryTable->exists()) {
|
||||
$WarehouseCategoryTable
|
||||
->addColumn("name", "string", ["limit" => 255])
|
||||
->addColumn("description", "text")
|
||||
->addColumn("create", "integer", ["default" => 1728541890])
|
||||
->addColumn("create_by", "integer", ["default" => 1])
|
||||
->addColumn("edit", "integer", ["null" => true, 'default' => null])
|
||||
->addColumn("edit_by", "integer", ["null" => true, 'default' => null])
|
||||
->create(); // Use create() instead of save() for new tables
|
||||
}
|
||||
|
||||
// --- End: Original WarehouseShippingNoteTextElement logic ---
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user