Sha256: 03a76442edacfc1edc41406099f09887337145f5fe500632df93955cc8bb83f1
Contents?: true
Size: 384 Bytes
Versions: 26
Compression:
Stored size: 384 Bytes
Contents
class UpgradeRelations < ActiveRecord::Migration def self.up add_column :semantic_relations, :rel_order, :integer, :null => true # Preparing to have the values in the same table add_column :semantic_relations, :value, :string, :null => true end def self.down remove_column :semantic_relations, :rel_order remove_column :semantic_relations, :value end end
Version data entries
26 entries across 26 versions & 1 rubygems