- WIP on SQLite Adapter and migration

This commit is contained in:
mcndave committed 2023-03-27 18:38:31 +00:00
1 parent cee978ecfd
commit 9514a46ae7
14 files changed
+98 -40

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ class Column
{
use \Ulmus\EntityTrait;
#[Id]
#[Field\Id]
public int $cid;
#[Field]
+2 -2
View File
@@ -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;
}