Sha256: c847f6d072fc09509eeac0d32003d65e81eb112ebc72c6e2660d70b4df2a0cb0
Contents?: true
Size: 599 Bytes
Versions: 11
Compression:
Stored size: 599 Bytes
Contents
class SchedularMigrations < ActiveRecord::Migration def self.up create_table :schedular_events do |t| t.string :name t.string :dates t.text :description t.timestamps end create_table :schedular_times do |t| t.datetime :value t.boolean :all_day t.timestamps end create_table :schedular_events_times, :id => false do |t| t.integer :time_id t.integer :event_id end end def self.down drop_table :schedular_events drop_table :schedular_times drop_table :schedular_events_times end end
Version data entries
11 entries across 6 versions & 1 rubygems