Sha256: 885a023f6cd4397ae575157a18f54cbe0d11e3068a067eb5f87a209077d2efb1
Contents?: true
Size: 529 Bytes
Versions: 42
Compression:
Stored size: 529 Bytes
Contents
class CreateClarkKentReportFilter < ActiveRecord::Migration def change create_table :clark_kent_report_filters do |t| t.integer :filterable_id t.string :filterable_type, :string, default: 'ClarkKent::Report' t.string :filter_name t.string :filter_value t.string :type t.string :duration t.string :kind_of_day t.string :offset t.timestamps end add_index :clark_kent_report_filters, :filterable_id add_index :clark_kent_report_filters, :filterable_type end end
Version data entries
42 entries across 42 versions & 1 rubygems