Giter VIP home page Giter VIP logo

laravel-migration-snapshot's People

Contributors

paulrrogers avatar qschmick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-migration-snapshot's Issues

Replace Dumped Dates/times In `data.sql` With An Epoch Value

Currently dumping data with schema may produce a data.sql file whose inserts vary only by the dates/times of when the migrations created the data. It would be nice to have an --epoch= option when dumping with data to replace those dumped dates-times with the provided value.

Possible solutions could be to manipulate the data in memory during the dump/export or temporarily update the data in a DB transaction beforehand. If there is no maintainable solution then it may be best to simply document the limitation in the README.md.

vendor:publish "Unable to locate publishable resources"

Hi,

I think there's a typo in README.md:

php artisan vendor:publish --provider="\OrisIntel\MigrationSnapshot\ServiceProvider"

produces error (I'm on Windows):

Unable to locate publishable resources.

It works if changed to:

php artisan vendor:publish --provider="OrisIntel\MigrationSnapshot\ServiceProvider"

(mind the first backslash)

Make Migration Batch Numbers Consistent

Write code or best-practice documentation to maintain consistent batch numbers in the migration rows dumped into schema.sql. At present one may get all zeros after migrate:fresh yet an incremental sequence if dumped from a stepped or progressively applied series of migrations.

Ideally the schema.sql contents would be consistent regardless of how DB being dumped was migrated, or the DBMS server version used with migrate:dump.

Remove Bash, Shell Piping, And Sed Dependencies

Filtering AUTO_INCREMENT= values currently relies on Bash-specific set -o pipefail, &&, shell piping, and sed. Instead do the filtering in PHP code for maximum compatibility.

This may also be a good time reconsider using proc_open or temporary file(s) to capture Stdout and Stderr within PHP to filter password-insecure warnings and colorize output. Then console output would look more like that produced by $this->info() and $this->error() within Artisan commands.

PHP 8 support

Hi,

Would it be possible to add php 8 support?

Thanks for this awesome package!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.