Sha256: 71da255b2cc1d0546fdb91c6f48416bf7a3a3d09be216dd159d722d6c100a4a1

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

# This migration comes from date_book (originally 20170807133846)
class CreateEvents < ActiveRecord::Migration[5.1]
  def change
    create_table :events do |t|
      t.references :calendar

      t.string :name
      t.string :slug, unique: true
      t.text :description
      t.string :css_class

      t.date :start_date
      t.time :start_time

      t.integer :duration
      t.boolean :all_day

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
date_book-0.0.5 spec/dummy/db/migrate/20170807134138_create_events.date_book.rb
date_book-0.0.3 spec/dummy/db/migrate/20170807134138_create_events.date_book.rb
date_book-0.0.2 spec/dummy/db/migrate/20170807134138_create_events.date_book.rb
date_book-0.0.1 spec/dummy/db/migrate/20170807134138_create_events.date_book.rb