Sha256: 73467a4dad182c65cef82d8bb689752bef59c52434f8cc930895ecfaebe379d4

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 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

5 entries across 5 versions & 2 rubygems

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