Sha256: 0e86f410217462977b3a1e0f506dc24b3846967d480047ad1ad4c2a4ade246b2
Contents?: true
Size: 312 Bytes
Versions: 28
Compression:
Stored size: 312 Bytes
Contents
class CreateCalendars < ActiveRecord::Migration def change create_table :calendars do |t| t.references :tenant t.references :team t.datetime :cal_start t.datetime :cal_end t.timestamps end add_index :calendars, :tenant_id add_index :calendars, :team_id end end
Version data entries
28 entries across 28 versions & 1 rubygems