Maz
Maz

Reputation: 452

Propel Inheritance: generate only children tables

In Concrete Inheritance, is it possible to mark parent as abstract and have NO table generated for it?

For instance:

› That would generate all 3 classes (one abstract), but only 2 tables (table B and table C)

Upvotes: 0

Views: 22

Answers (1)

Alexander Guz
Alexander Guz

Reputation: 1364

Use skipSql on table definition:

<table name="abstract_a" idMethod="native" skipSql="true">
...
</table>

Upvotes: 1

Related Questions