Sha256: 4b06847853c11e5ce9f1ebaf1ed52387fcd7b3ada35a245d6c7c8551bac9caf7
Contents?: true
Size: 576 Bytes
Versions: 4
Compression:
Stored size: 576 Bytes
Contents
class CreateDroomCalendars < ActiveRecord::Migration def change create_table :droom_calendars do |t| t.integer :id t.string :name t.string :slug t.boolean :events_private, :default => false t.boolean :documents_private, :default => false t.integer :created_by_id t.timestamps end add_index :droom_calendars, :slug add_column :droom_events, :calendar_id, :integer add_index :droom_events, :calendar_id add_column :droom_scraps, :event_id, :integer add_index :droom_scraps, :event_id end end
Version data entries
4 entries across 4 versions & 1 rubygems