Mercurial > zeropaste
annotate db/migrate/20130201150322_add_key_to_paste.rb @ 232:e3468efc9ec9
Do check if we're on the right place
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sat, 25 May 2013 12:15:27 +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 |