sfsekaran / migrer Goto Github PK
View Code? Open in Web Editor NEWThe polite data migration valet.
License: MIT License
The polite data migration valet.
License: MIT License
...by using the data_migrations
table already included in this project.
This uses Dir.entries to generate the list, which may not be in the correct order.
show status (pending or complete) for all data migrations
No special checking or anything for now, just run all the data migrations.
Put code used in rake tasks into classes so that it is reusable.
i.e.:
$ rake data:pending
lib/tasks/data_migrations/12323132_first_data_migration.rb
lib/tasks/data_migrations/12323133_second_data_migration.rb
This should be allowed:
rails g data_migration my_new_data_migration
However, this currently results in the following class name in the data migration file:
class my_new_data_migration
instead of:
class MyNewDataMigration
I think we should actually remove the id
and updated_at
columns entirely.This won't need to be indexed by anything but the version
column, which can be the primary key column instead of id
.
e.g.:
rails g data:migration ....
rake db:data:migrate ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.