diff --git a/README.md b/README.md index 42ab9fd..5f9ef23 100644 --- a/README.md +++ b/README.md @@ -83,32 +83,7 @@ imports: - { resource: "@BitBagSyliusAgreementPlugin/Resources/config/config.yaml" } ``` -5. Update database schema: -##### Check for queries to execute -``` -bin/console doctrine:schema:update --dump-sql -``` -##### Execute database update -``` -bin/console doctrine:schema:update --force -``` - -## Usage - -*** - -1.Find a form/forms where you want to add agreements and set it in your config.yaml file, for example: -```yaml -bit_bag_sylius_agreement: - contexts: - registration_form: - - Sylius\Bundle\CoreBundle\Form\Type\Customer\CustomerRegistrationType - checkout_form: - - Sylius\Bundle\CoreBundle\Form\Type\Checkout\AddressType -``` - -2.Find an entity which is used in your form and add trait to that class: -##### For customer entity +5. Extend Customer entity: ```php