This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8e08b2cd02be17bc5e3b18a5fed91b7b6f48547e
tree bd9239dbb61463474e3fd4688f12f4eda11e9d8b
parent 73cff3844eda2bf1222f2960333b3c35da314cbe
tree bd9239dbb61463474e3fd4688f12f4eda11e9d8b
parent 73cff3844eda2bf1222f2960333b3c35da314cbe
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Sat Mar 15 17:44:02 -0700 2008 | [pjhyett] |
| |
README | Sat Mar 15 17:44:02 -0700 2008 | [pjhyett] |
| |
Rakefile | Sat Mar 15 17:44:02 -0700 2008 | [pjhyett] |
| |
init.rb | Sat Mar 15 17:44:02 -0700 2008 | [pjhyett] |
| |
lib/ | Wed Apr 30 08:45:50 -0700 2008 | [PotatoSalad] |
| |
tasks/ | Sat Mar 15 17:44:02 -0700 2008 | [pjhyett] |
| |
test/ | Sat Mar 15 17:44:02 -0700 2008 | [pjhyett] |
README
== AutoMigrations
Forget migrations, auto-migrate!
== Usage
Write out your schema (or use an existing one)
$ cat db/schema.rb
ActiveRecord::Schema.define do
create_table :posts do |t|
t.string :title
t.text :body
t.timestamps
end
end
$ rake db:auto:migrate
Created posts table
...a few days later
$ cat db/schema.rb
ActiveRecord::Schema.define do
create_table :posts do |t|
t.string :title
t.text :content
t.timestamps
end
end
$ rake db:auto:migrate
-- add_column("posts", :content, :text)
-> 0.0307s
-- remove_column("posts", "body")
-> 0.0311s
Found a bug? Sweet. Add it at the Lighthouse:
http://err.lighthouseapp.com/projects/466-plugins/tickets/new
Feature requests are welcome.
* PJ Hyett [ pjhyett@gmail.com ]




