CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 14:50:14 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100214123306
location: https://web.archive.org/web/20100214123306/https://github.com/pjhyett/auto_migrations
server-timing: captures_list;dur=4.256904, exclusion.robots;dur=0.026284, exclusion.robots.policy;dur=0.010800, esindex;dur=0.016803, cdx.remote;dur=40.092910, LoadShardBlock;dur=1156.248268, PetaboxLoader3.datanode;dur=170.369707, PetaboxLoader3.resolve;dur=921.177361
x-app-server: wwwb-app224
x-ts: 302
x-tr: 1246
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app224; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 14:50:16 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 14 Feb 2010 12:33:05 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "6d019b97635ac099600a835ef4a70eff"
x-archive-orig-x-runtime: 111ms
x-archive-orig-content-length: 23899
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 14 Feb 2010 12:33:06 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 05 Oct 2009 10:28:35 GMT", ; rel="prev memento"; datetime="Mon, 11 Jan 2010 09:59:21 GMT", ; rel="memento"; datetime="Sun, 14 Feb 2010 12:33:06 GMT", ; rel="next memento"; datetime="Tue, 03 May 2011 23:39:46 GMT", ; rel="last memento"; datetime="Sun, 05 Jun 2022 10:15:00 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_14_20100214104551_crawl102_IndexOnly-c/51_14_20100214123118_crawl101.arc.gz
server-timing: captures_list;dur=2.587942, exclusion.robots;dur=0.025582, exclusion.robots.policy;dur=0.011435, esindex;dur=0.018276, cdx.remote;dur=25.859041, LoadShardBlock;dur=795.783695, PetaboxLoader3.datanode;dur=184.956551, PetaboxLoader3.resolve;dur=1046.874208, load_resource;dur=480.694257
x-app-server: wwwb-app224
x-ts: 200
x-tr: 1367
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
pjhyett's auto_migrations at master - GitHub
This service is courtesy of Pledgie.
pjhyett / auto_migrations
- Source
- Commits
- Network (11)
- Issues (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (2)
- gh-pages
- master ✓
- Tags (0)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Rails plugin for automating migrations — Read more

Zhang Yuanyi (author)
Fri Oct 09 06:56:17 -0700 2009
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Sat Mar 15 17:44:02 -0700 2008 | migrate automatically [pjhyett] |
![]() |
README | Mon Apr 20 17:19:37 -0700 2009 | use github's issue tracker [pjhyett] |
![]() |
Rakefile | Sat Mar 15 17:44:02 -0700 2008 | migrate automatically [pjhyett] |
![]() |
init.rb | Sat Mar 15 17:44:02 -0700 2008 | migrate automatically [pjhyett] |
![]() |
lib/ | Fri Oct 09 16:09:16 -0700 2009 | add support of primary_key option [Zhang Yuanyi] |
![]() |
tasks/ | Mon Feb 16 12:06:40 -0800 2009 | Added the ability to reset schema migrations ta... [mlightner] |
![]() |
test/ | Sat Mar 15 17:44:02 -0700 2008 | migrate automatically [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 * PJ Hyett [ pjhyett@gmail.com ]