Class: CreateLogs
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateLogs
- Defined in:
- lib/geostats/migrations/003_create_logs.rb
Class Method Summary collapse
Class Method Details
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/geostats/migrations/003_create_logs.rb', line 2 def self.up create_table :logs do |t| t.integer :cache_id t.integer :log_type_id t.string :uuid t.text :message t.datetime :logged_at t.datetime :synced_at t. end end |