comparison db/migrate/20150916161622_strict_character_lengths.rb @ 463:4608d12ebe03

Sync database
author nanaya <me@nanaya.pro>
date Mon, 10 Dec 2018 02:35:08 +0900
parents e34e0de34b65
children d2ef59c9a4b4
comparison
equal deleted inserted replaced
462:e8d6c631a55b 463:4608d12ebe03
1 class StrictCharacterLengths < ActiveRecord::Migration 1 class StrictCharacterLengths < ActiveRecord::Migration[4.2]
2 def change 2 def change
3 change_table :pastes do |t| 3 change_table :pastes do |t|
4 t.change :key, :string, :limit => 100 4 t.change :key, :string, :limit => 100
5 t.change :secret, :string, :limit => 100 5 t.change :secret, :string, :limit => 100
6 t.change :language, :string, :limit => 100 6 t.change :language, :string, :limit => 100