summaryrefslogtreecommitdiff
path: root/db/migrate/20120617065247_create_gs_cluster_sync_log_entries.rb
blob: 83d6a5bc5b16a8861099b03a35a28d75520ef641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class CreateGsClusterSyncLogEntries < ActiveRecord::Migration
  def self.up
    create_table :gs_cluster_sync_log_entries do |t|
      t.integer :gs_node_id
      t.string :class_name
      t.string :action
      t.text :content
      t.string :status
      t.string :history
      t.timestamps
    end
  end

  def self.down
    drop_table :gs_cluster_sync_log_entries
  end
end