Skip to content

Commit 43f02bc

Browse files
committed
remove table command
1 parent 4b48d2b commit 43f02bc

File tree

3 files changed

+0
-111
lines changed

3 files changed

+0
-111
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -170,20 +170,6 @@ php bin/console api:push my_document_name
170170
Then you also need to provide a client id and secret for your account. The TypeHub platform basically tracks all changes of
171171
the API specification and it is possible to download different SDKs.
172172

173-
### Table
174-
175-
At last there is a command to generate table classes for your API which is a lightweight alternative
176-
to Doctrine. This is complete optional and only useful if you like to write raw SQL queries. The command
177-
reads all tables from you database and generates type-safe repositories for each table at the `src/Table` folder.
178-
179-
```
180-
php bin/console generate:table
181-
```
182-
183-
This approach is database-first, instead of defining your database schema at an entity we use a tool like
184-
Doctrine Migrations to build the database schema and then you can use the command to generate all table
185-
classes.
186-
187173
## Technical
188174

189175
This bundle tries to not change any Symfony behaviour, for example we use the existing `#[Route]` attribute instead

config/services.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@
102102
->arg('$projectDir', param('kernel.project_dir'));
103103
$services->set(SdkCommand::class)
104104
->arg('$projectDir', param('kernel.project_dir'));
105-
$services->set(TableCommand::class)
106-
->arg('$projectDir', param('kernel.project_dir'));
107105
$services->set(PushCommand::class);
108106

109107
$services->set(ControllerArgumentsListener::class);

src/Command/TableCommand.php

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)