Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 11, 2024
1 parent 91cfc60 commit 3a51cf9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Resources/config/doctrine/model/Promotion.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
<generator strategy="AUTO"/>
</id>

<indexes>
<index columns="created_at"/>
<index columns="updated_at"/>
</indexes>

<field name="code" type="string" unique="true"/>
<field name="name" type="string"/>
<field name="description" type="string" nullable="true"/>
Expand All @@ -27,11 +22,7 @@
<field name="startsAt" column="starts_at" type="datetime" nullable="true"/>
<field name="endsAt" column="ends_at" type="datetime" nullable="true"/>
<field name="enabled" type="boolean"/>
<field name="discount" column="discount" type="decimal" precision="10" scale="5">
<options>
<option name="default">0</option>
</options>
</field>
<field name="discount" column="discount" type="decimal" precision="10" scale="5"/>
<field name="createdAt" column="created_at" type="datetime">
<gedmo:timestampable on="create"/>
</field>
Expand Down

0 comments on commit 3a51cf9

Please sign in to comment.