- A lot of work done on bug fixing. Added a new SQLite adapter
This commit is contained in:
1 parent
667df92e52
commit
c14644cdda
28 files changed
+727
-234
No files matched your search
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Entity\Sqlite;
|
||||
|
||||
use Ulmus\EntityCollection;
|
||||
|
||||
/**
|
||||
* @Table('name' => "sqlite_master")
|
||||
*/
|
||||
class Schema
|
||||
{
|
||||
use \Ulmus\EntityTrait;
|
||||
|
||||
/**
|
||||
* @Id
|
||||
*/
|
||||
public ? string $name;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
public ? string $type;
|
||||
|
||||
/**
|
||||
* @Field('name' => 'tbl_name')
|
||||
*/
|
||||
public ? string $tableName;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
public ? int $rootpage;
|
||||
|
||||
/**
|
||||
* @Field
|
||||
*/
|
||||
public ? string $sql;
|
||||
|
||||
/**
|
||||
* @Relation('oneToMany', 'key' => 'tableName', 'foreignKey' => 'tableName', 'entity' => Schema::class)
|
||||
*/
|
||||
public EntityCollection $columns;
|
||||
}
|
||||
Reference in new issue
Block a user