Sha256: a67cb27600324e703b95dce428189c4c5861045b6752864b76ddbba3fcaec4da

Contents?: true

Size: 365 Bytes

Versions: 18

Compression:

Stored size: 365 Bytes

Contents

# encoding: UTF-8

Sequel.migration do
  up do
    adapter_scheme =  self.adapter_scheme
    alter_table(:content) do
      drop_column :slot_name
      drop_column :slot_id
      add_column  :box_id, :varchar
    end
  end

  down do
    alter_table(:content) do
      add_column  :slot_name
      add_column  :slot_id
      drop_column :box_id
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta9 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta8 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta7 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta6 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta5 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta4 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta3 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta2 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.beta1 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha7 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha6 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha5 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha4 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha3 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha2 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.2.0.alpha1 db/migrations/20110521114145_remove_slots_and_entries.rb
spontaneous-0.1.0.alpha1 db/migrations/20110521114145_remove_slots_and_entries.rb