Mercurial > zeropaste
comparison db/migrate/20130511133450_add_secret_to_pastes.rb @ 333:682abad78313
Documentation and line length.
author | edogawaconan <me@myconan.net> |
---|---|
date | Mon, 14 Apr 2014 17:32:12 +0900 |
parents | ee7829c7c2a2 |
children | 4608d12ebe03 |
comparison
equal
deleted
inserted
replaced
332:a999250e57c4 | 333:682abad78313 |
---|---|
1 # Private paste column. | |
1 class AddSecretToPastes < ActiveRecord::Migration | 2 class AddSecretToPastes < ActiveRecord::Migration |
2 def change | 3 def change |
3 add_column :pastes, :secret, :string | 4 add_column :pastes, :secret, :string |
4 end | 5 end |
5 end | 6 end |