Mercurial > zeropaste
annotate db/migrate/20130201150322_add_key_to_paste.rb @ 314:3c22d4acc2fa
Add basic controller test.
author | edogawaconan <me@myconan.net> |
---|---|
date | Sat, 05 Apr 2014 23:08:49 +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 |