Sha256: 5403a5e332f880e7dc9973d3ae843bec4322674c852e3880a554c002b2d4d660
Contents?: true
Size: 353 Bytes
Versions: 5
Compression:
Stored size: 353 Bytes
Contents
# frozen_string_literal: true class CreateUpdates < ActiveRecord::Migration[4.2] def self.up create_table :updates do |t| t.integer "source_id" t.text "status" t.timestamps end add_column :sources, :next_update, :datetime end def self.down remove_column :sources, :next_update drop_table :updates end end
Version data entries
5 entries across 5 versions & 2 rubygems