Sha256: ee164c72c70959b563e774cdc60e27ddccf639035735033098fcdd551064e686
Contents?: true
Size: 199 Bytes
Versions: 21
Compression:
Stored size: 199 Bytes
Contents
class AddAuthorIdToStory < ActiveRecord::Migration def self.up add_column :stories, :author_id, :integer, :nil => false end def self.down remove_column :stories, :author_id end end
Version data entries
21 entries across 21 versions & 1 rubygems