Sha256: f58aac1d649091c8a5ba82155190e40cc9524179c6e01e33bbb92aeda18aefb8
Contents?: true
Size: 404 Bytes
Versions: 10
Compression:
Stored size: 404 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration def self.up create_table :<%= table_name %> do |t| t.string :locale t.string :key t.text :value t.boolean :is_proc, :default => false t.timestamps end add_index :<%= table_name %>, :locale add_index :<%= table_name %>, :key end def self.down drop_table :<%= table_name %> end end
Version data entries
10 entries across 5 versions & 1 rubygems