Comments (4)
While it's true that rake db:schema:load
is the proper method to build a db, the migrations would still be required if any rake db:rollback
operations are to be performed. Rollbacks affect the schema and the db it corresonds to.
from selfstarter.
I'm assuming you're referring to my comment about deleting migrations...
I was referring to deleting migrations that are old, not recent. And
moreover I was saying that to make the point that they should be not
considered definitive.
I'll also add that migrations that work fine today will sometimes even fail
months in the future, especially if things get renamed. Further proof that
migrations should not be used to build up a db.
Anyway, are you agreeing that the instructions should be changed, or do you
feel it should stay as is?
Khurram Virani
On Sat, Nov 23, 2013 at 9:04 PM, Mohammed Ameen [email protected]:
While it's true that rake db:schema:load is the proper method to build a
db, the migrations would still be required if any rake db:rollbackoperations are to be performed. Rollbacks affect the schema and the db it
corresonds to.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-29149083
.
from selfstarter.
rake db:schema:load
or rake db:setup
which essentially is a shortcut for rake db:create && rake db:schema:load && rake db:seed
is usually how we create db's on new projects/machines.
I'd agree with changing the instructions as recreating a db overtime solely through migrations would not be feasible (essentially if later migrations affect older ones or any irreversible migrations are performed)
Also if you strongly feel that the instructions are to be changed edit the readme and send in a pull request with the updated instructions for recreating the db.
from selfstarter.
Great, will do. Thanks
Khurram Virani
On Sat, Nov 23, 2013 at 10:10 PM, Mohammed Ameen
[email protected]:
rake db:schema:load or rake db:setup which essentially is a shortcut for rake
db:create && rake db:schema:load && rake db:seed is usually how we create
db's on new projects/machines.I'd agree with changing the instructions as recreating a db overtime
solely through migrations would not be feasible (essentially if later
migrations affect older ones or any irreversible migrations are performed)Also if you strongly feel that the instructions are to be changed edit the
readme and send in a pull request with the updated instructions for
recreating the db.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/69#issuecomment-29149719
.
from selfstarter.
Related Issues (20)
- Functionality for custom payment option? HOT 1
- jquery-ui update HOT 1
- Bundle install HOT 4
- Depecration Warning during rake db:migrate HOT 2
- Asset path issue in Heroku HOT 1
- How do I use this for my own funding project ?
- Add a service of integrate continuous
- Test suite is failing
- have a problem
- is this still being maintained? HOT 3
- Working App??
- Error on loading page
- undefined method `environment' HOT 2
- Microdonation?! HOT 1
- User specified / flexible contribution amount HOT 1
- How do I build it on a 3rd party hosting platform HOT 2
- file gets downloaded in safari
- selfstarter.us website down "Application Error" HOT 1
- Use as an engine? HOT 1
- RSpec
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfstarter.