Sha256: 2923ffcfab83376128906781944ab517140bf30abdb31494de33b1ced1afd738

Contents?: true

Size: 222 Bytes

Versions: 22

Compression:

Stored size: 222 Bytes

Contents

class CreateLogs < ActiveRecord::Migration
  def self.up
    create_table :logs do |t|
      t.text :content
      t.integer :logsession_id

      t.timestamps
    end
  end

  def self.down
    drop_table :logs
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
six-updater-web-0.14.7 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.14.6 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.14.5 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.14.4 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.14.3 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.14.2 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.14.1 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.13.6 lib/six-updater-web/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.13.5 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.13.4 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.13.3 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.13.2 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.13.1 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.7 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.6 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.5 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.4 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.3 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.2 lib/db/migrate/20090916174120_create_logs.rb
six-updater-web-0.12.1 lib/db/migrate/20090916174120_create_logs.rb