Mercurial > zeropaste
annotate db/migrate/20130201150322_add_key_to_paste.rb @ 176:a9dba6a3008b
Initial work to add paste deletion.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Fri, 01 Feb 2013 22:24:08 +0700 |
parents | |
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 |