ajthinking / the-missing-schema
A schema.json file
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
This package is auto-updated.
Last update: 2024-11-29 06:10:06 UTC
README
Sometimes we just want to see/use a list of all models and their columns
Installation
composer require ajthinking/the-missing-schema
Usage
<?php
use TheMissingSchema\Schema;
Schema::save();
Now, you can see a file schema.json
in your database folder. At the moment it does not do anything, and it does not affect your migrations whatsoever.
{
"users": [
{
"columnName": "name",
...
},
...
],
...
}
Supported drivers
- sqlite