Mercurial > zeropaste
comparison db/migrate/20130201150322_add_key_to_paste.rb @ 463:4608d12ebe03
Sync database
author | nanaya <me@nanaya.pro> |
---|---|
date | Mon, 10 Dec 2018 02:35:08 +0900 |
parents | 682abad78313 |
children |
comparison
equal
deleted
inserted
replaced
462:e8d6c631a55b | 463:4608d12ebe03 |
---|---|
1 # For deletion. | 1 # For deletion. |
2 class AddKeyToPaste < ActiveRecord::Migration | 2 class AddKeyToPaste < ActiveRecord::Migration[4.2] |
3 def change | 3 def change |
4 add_column :pastes, :key, :string | 4 add_column :pastes, :key, :string |
5 end | 5 end |
6 end | 6 end |