Sha256: 5aaa408e48884fadc778954a6510a518a2dee8ba5dd1b8b40914d41f59ade268
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
# This migration comes from refinery_copywriting (originally 1) class CreateCopywritings < ActiveRecord::Migration def self.up create_table :copywriting_phrases do |t| t.string :name t.text :default t.text :value t.string :scope t.integer :page_id t.timestamps end add_index :copywriting_phrases, [:name, :scope] end def self.down Refinery::UserPlugin.destroy_all({:name => "refinerycms_copywriting"}) drop_table :copywriting_phrases end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-copywriting-2.0.2 | spec/dummy/db/migrate/20120416115049_create_copywritings.refinery_copywriting.rb |