Sha256: 2123ec5908d17b0b519a3c7811b39005e12275ad1c62537818181505e125426b

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

class CreateTrayPositions < ActiveRecord::Migration
  def self.up
    create_table :tray_positions do |t|
      t.integer :user_id
      t.integer :position
      t.integer :asset_id
    end
  end

  def self.down
    drop_table :tray_positions
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fassets_core-0.4.0 db/migrate/007_create_tray_positions.rb
fassets_core-0.3.1 db/migrate/007_create_tray_positions.rb
fassets_core-0.3.0 db/migrate/007_create_tray_positions.rb
fassets_core-0.2.0 db/migrate/007_create_tray_positions.rb