Sha256: 51164a22d843d212723d9eb538a978f04ac24fa26e7781f71d3607a49d5162b6

Contents?: true

Size: 347 Bytes

Versions: 39

Compression:

Stored size: 347 Bytes

Contents

class CreateReports < ActiveRecord::Migration
  def change
    create_table :reports do |t|
      t.belongs_to    :report_template
      t.belongs_to    :user
      t.date          :start
      t.date          :finish
      t.string        :state, :null => false, :default => 'new'
      t.text          :error
      t.timestamps
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
smartkiosk-server-0.13.1 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.13 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.12.1 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.12 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.11 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.10 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.9 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.8 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.7 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.6 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.5 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.4 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.3 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.2 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11.1 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.11 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.10.19 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.10.18 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.10.17 db/migrate/20121007135652_create_reports.rb
smartkiosk-server-0.10.16 db/migrate/20121007135652_create_reports.rb