Sha256: 6a130c47ef608043011bf6564da9c5a0d1ae360e8acbaa1d40f9b79e2555e259

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

class CreateRequirements < ActiveRecord::Migration
  def change
    create_table :requirements do |t|
      t.references :report, index: true, foreign_key: true
      t.string :name
      t.string :sql_key
      t.string :sql_default
      t.string :sql_replace
      t.text :sql_str
      t.integer :sql_type
      t.integer :form_type

      t.timestamps null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
treport-0.2.0 db/migrate/20160608124539_create_requirements.rb
treport-0.1.0 db/migrate/20160608124539_create_requirements.rb
admin-sys-1.0.2 plugins/report/db/migrate/20160608124539_create_requirements.rb
admin-sys-1.0.1 plugins/report/db/migrate/20160608124539_create_requirements.rb
admin-sys-1.0.0 plugins/report/db/migrate/20160608124539_create_requirements.rb