Sha256: aa1671ca085f7bb7f748a9f49fc7d5f8caf90587288292d89c80c2068ab4cc24
Contents?: true
Size: 532 Bytes
Versions: 116
Compression:
Stored size: 532 Bytes
Contents
class AddAdminFieldsToSites < ActiveRecord::Migration[5.2] def self.up add_column :sites, :created_by_id, :integer add_column :sites, :created_at, :datetime add_column :sites, :updated_by_id, :integer add_column :sites, :updated_at, :datetime add_column :sites, :subtitle, :string end def self.down remove_column :sites, :created_by_id remove_column :sites, :created_at remove_column :sites, :udpated_by_id remove_column :sites, :updated_at remove_column :sites, :subtitle end end
Version data entries
116 entries across 116 versions & 1 rubygems