Sha256: 15ca0bb2c23e3e716ccdcc947a0bdacf8d70364b2c4ac5b9e57c375195d47b2c
Contents?: true
Size: 318 Bytes
Versions: 34
Compression:
Stored size: 318 Bytes
Contents
class AddProjectToEnumerations < ActiveRecord::Migration def self.up add_column :enumerations, :project_id, :integer, :null => true, :default => nil add_index :enumerations, :project_id end def self.down remove_index :enumerations, :project_id remove_column :enumerations, :project_id end end
Version data entries
34 entries across 34 versions & 1 rubygems