Sha256: 1aa9774432dcfbb2847a2a6250c8a2ad5e5c5b58b01e01210e39ef4cf18c8282

Contents?: true

Size: 253 Bytes

Versions: 15

Compression:

Stored size: 253 Bytes

Contents

class CreateCategoryAssignments < ActiveRecord::Migration
  def self.up
    create_table :category_assignments do |t|
      t.references :content
      t.references :category
    end
  end

  def self.down
    drop_table :category_assignments
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
adva-0.3.2 db/migrate/20080401000005_create_category_assignments.rb
adva-0.3.1 db/migrate/20080401000005_create_category_assignments.rb
adva-0.3.0 db/migrate/20080401000005_create_category_assignments.rb
adva-0.2.4 db/migrate/20080401000005_create_category_assignments.rb
adva-0.2.3 db/migrate/20080401000005_create_category_assignments.rb
adva-0.2.2 db/migrate/20080401000005_create_category_assignments.rb
adva-0.2.1 db/migrate/20080401000005_create_category_assignments.rb
adva-0.2.0 db/migrate/20080401000005_create_category_assignments.rb
adva-0.1.4 db/migrate/20080401000005_create_category_assignments.rb
adva-0.1.3 db/migrate/20080401000005_create_category_assignments.rb
adva-0.1.2 db/migrate/20080401000005_create_category_assignments.rb
adva-0.1.1 db/migrate/20080401000005_create_category_assignments.rb
adva-0.1.0 db/migrate/20080401000005_create_category_assignments.rb
adva_cms-0.0.1 db/migrate/20080401000005_create_category_assignments.rb
adva-0.0.1 adva_cms/db/migrate/20080401000005_create_category_assignments.rb