Sha256: 23a151b4e9bf0ff7b91f39208ef3314653be590888ee83a55e2d4d697bacc0cc

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

class CreateEvents < ActiveRecord::Migration[5.2]
  def change
    create_table :events do |t|
      t.references :library, index: true, null: false
      t.references :event_category, index: true, null: false
      t.string :name
      t.text :note
      t.datetime :start_at
      t.datetime :end_at
      t.boolean :all_day, default: false, null: false
      t.text :display_name

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_event-0.4.0.rc.1 db/migrate/113_create_events.rb