- WIP on SQLite Adapter and migration
This commit is contained in:
1 parent
cee978ecfd
commit
9514a46ae7
14 files changed
+98
-40
No files matched your search
@@ -12,7 +12,7 @@ class Column
|
||||
{
|
||||
use \Ulmus\EntityTrait;
|
||||
|
||||
#[Id]
|
||||
#[Field\Id]
|
||||
public int $cid;
|
||||
|
||||
#[Field]
|
||||
|
||||
@@ -12,7 +12,7 @@ class Schema
|
||||
{
|
||||
use \Ulmus\EntityTrait;
|
||||
|
||||
#[Id]
|
||||
#[Field\Id]
|
||||
public ? string $name;
|
||||
|
||||
#[Field]
|
||||
@@ -27,6 +27,6 @@ class Schema
|
||||
#[Field]
|
||||
public ? string $sql;
|
||||
|
||||
#[Relation("oneToMany", key: "tableName", foreignKey: "tableName", entity: "Schema")]
|
||||
#[Relation("oneToMany", key: "tableName", foreignKey: "tableName", entity: Column::class)]
|
||||
public EntityCollection $columns;
|
||||
}
|
||||
Reference in new issue
Block a user