Sha256: f31e5258eab1cdd555d02df4a1f36362b7f5e677ca53fc96729cbea2c0c1c99d
Contents?: true
Size: 514 Bytes
Versions: 5
Compression:
Stored size: 514 Bytes
Contents
# This migration comes from date_book (originally 20170807133847) class CreateSchedules < ActiveRecord::Migration[5.1] def self.up create_table :schedules do |t| t.references :schedulable, polymorphic: true t.date :date t.time :time t.string :rule t.string :interval t.text :day t.text :day_of_week t.datetime :until t.integer :count t.timestamps end end def self.down drop_table :schedules end end
Version data entries
5 entries across 5 versions & 1 rubygems