Mercurial > zeropaste
annotate db/migrate/20130201150322_add_key_to_paste.rb @ 222:9bc35555d3e3
Use external jquery instead of rails' builtin
Saves bandwidth and (hopefully) improves speed.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 12 May 2013 12:38:03 +0900 |
parents | a9dba6a3008b |
children | 682abad78313 |
rev | line source |
---|---|
176
a9dba6a3008b
Initial work to add paste deletion.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
1 class AddKeyToPaste < ActiveRecord::Migration |
a9dba6a3008b
Initial work to add paste deletion.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
2 def change |
a9dba6a3008b
Initial work to add paste deletion.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
3 add_column :pastes, :key, :string |
a9dba6a3008b
Initial work to add paste deletion.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
4 end |
a9dba6a3008b
Initial work to add paste deletion.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
5 end |