Mercurial > zeropaste
annotate db/migrate/20130201150322_add_key_to_paste.rb @ 298:ff27821f9272
A test! Can you imagine that?!
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 12 Feb 2014 15:10:42 +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 |