Sha256: 0a5f6140ddfe766a5b0b132aa0e7cffc81c30f79ee5519ec48275b075febee0a
Contents?: true
Size: 679 Bytes
Versions: 33
Compression:
Stored size: 679 Bytes
Contents
class RemoveTranslations < ActiveRecord::Migration def self.up drop_table 'trans_phrases' drop_table 'trans_values' remove_column 'sites', 'trans_group_id' end def self.down add_column 'sites', :trans_group_id, :integer create_table("trans_phrases", :options => Zena::Db.table_options) do |t| t.column "phrase", :string, :limit => 100, :default => "", :null => false end create_table("trans_values", :options => Zena::Db.table_options) do |t| t.column "phrase_id", :integer t.column "lang", :string, :limit => 10, :default => "", :null => false t.column "value", :text, :default => "", :null => false end end end
Version data entries
33 entries across 33 versions & 1 rubygems