Sha256: db994319c01ae95a2cc3a762c14f4becc89212f7180f40957d6f732f4495feaa

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

class CreateMessages < ActiveRecord::Migration
  def self.up
    create_table :messages do |t|
      t.integer :supplier_id
      t.string :title
      t.string :text
      t.integer :user_id
      t.boolean :opened
      t.string :author

      t.timestamps
    end
  end

  def self.down
    drop_table :messages
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20110922213437_create_messages.rb
spree_suppliers-0.60.3 db/migrate/20110922213437_create_messages.rb