Sha256: 93e7260a356a47e9dbbad1c41f91b79744e66a24f8e60155514b4d02c640f308

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

class CreateReports < ActiveRecord::Migration
  def change
    create_table :reports do |t|
      t.string :name
      t.text :sql_code
      t.boolean :is_sql_category
      t.string :category_name
      t.references :connect, index: true, foreign_key: true
      t.string :template
      t.string :url

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin-sys-1.1.0 plugins/report/db/migrate/20160608123333_create_reports.rb