Sha256: 2f3d506eae44ad8c3d7bc607bb9c362ff0837a6309c3931cf6ca52985b0d66f0
Contents?: true
Size: 444 Bytes
Versions: 97
Compression:
Stored size: 444 Bytes
Contents
class CreateSubjectHeadingTypeHasSubjects < ActiveRecord::Migration def self.up create_table :subject_heading_type_has_subjects do |t| t.integer :subject_id, :null => false t.string :subject_type t.integer :subject_heading_type_id, :null => false t.timestamps end add_index :subject_heading_type_has_subjects, :subject_id end def self.down drop_table :subject_heading_type_has_subjects end end
Version data entries
97 entries across 97 versions & 7 rubygems