Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant migrations #125

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ Symfony Flex, it's much quicker! :)
cp -R vendor/sylius/admin-order-creation-plugin/src/Resources/views/SyliusAdminBundle/* templates/bundles/SyliusAdminBundle/
```

3. Copy plugin migrations to your migrations directory (e.g. `src/Migrations`) and apply them to your database:

```bash
cp -R vendor/sylius/admin-order-creation-plugin/migrations/* src/Migrations
bin/console doctrine:migrations:migrate
```

## Extension points

Admin Order Creation Plugin makes it possible to add custom discount during order creation - thus some of Order
Expand Down
11 changes: 2 additions & 9 deletions docs/legacy_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,13 @@
cp -R vendor/sylius/admin-order-creation-plugin/src/Resources/views/SyliusAdminBundle/* app/Resources/SyliusAdminBundle/views/
```

6. Copy plugin migrations to your migrations directory (e.g. `src/Migrations`) and apply them to your database:

```bash
cp -R vendor/sylius/admin-order-creation-plugin/migrations/* src/Migrations
bin/console doctrine:migrations:migrate
```

7. Install `FOSJsRoutingBundle` assets:
6. Install `FOSJsRoutingBundle` assets:

```bash
bin/console assets:install --symlink web
```

8. Clear cache:
7. Clear cache:

```bash
bin/console cache:clear
Expand Down
29 changes: 0 additions & 29 deletions migrations/Version20180626065141.php

This file was deleted.

29 changes: 0 additions & 29 deletions migrations/Version20180709120541.php

This file was deleted.