Skip to content

Commit 098f9ae

Browse files
committed
fix engine not passing to sql create
1 parent bb802d6 commit 098f9ae

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Nether/Database/Struct/TableClassInfo.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class TableClassInfo {
3232
public string
3333
$PrimaryKey = '';
3434

35+
public ?string
36+
$Engine = NULL;
37+
3538
public string
3639
$ObjectKey;
3740

@@ -79,6 +82,7 @@ protected function
7982
$this->Name = $Inst->Name;
8083
$this->Alias = $Inst->Alias;
8184
$this->Comment = $Inst->Comment;
85+
$this->Engine = $Inst->Engine;
8286

8387
$ClassDef = NULL;
8488
$FieldSet = [];

src/Nether/Database/Verse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ static public function
11301130
->Comment($Table->Comment)
11311131
->Fields($Table->GetFieldList())
11321132
->Index($Table->GetIndexList())
1133+
->Engine($Table->Engine)
11331134
->ForeignKey($Table->GetForeignKeyList());
11341135

11351136
return $Verse;

0 commit comments

Comments
 (0)