Sha256: 381a5ee91f960b391e175cf63a76cfcf12f7dbdd35c0ca108a9f3e2648841106

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

class FlmsCreateKeyframes < ActiveRecord::Migration
  def change
    create_table :flms_keyframes do |t|
      t.timestamps
      t.integer   :layer_id, nil: false
      t.string    :type

      t.integer   :scroll_start
      t.integer   :scroll_duration

      t.float     :width
      t.float     :height
      t.float     :position_x
      t.float     :position_y
      t.float     :margin_left, default: 0, null: false
      t.float     :margin_top, default: 0, null: false

      t.float     :opacity
      t.float     :scale
      t.float     :blur

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flms-0.9.0 db/migrate/20130327183815_flms_create_keyframes.rb
flms-0.1.0 db/migrate/20130327183815_flms_create_keyframes.rb