Method: CreateTableForSaf.up

Defined in:
lib/ap4r/xxx_create_table_for_saf.rb,
lib/ap4r/xxx_create_table_for_saf_to_postgresql.rb

.upObject



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/ap4r/xxx_create_table_for_saf.rb', line 6

def self.up
  create_table :stored_messages do |t|
    t.column :duplication_check_id, :string, :null => false
    t.column :queue, :string, :null => false
    t.column :headers, :binary, :null => false
    t.column :object, :binary, :null => false
    t.column :status, :integer, :null => false
    t.column :created_at, :datetime, :null => false
    t.column :updated_at, :datetime, :null => false
  end
end