Class: CreateQbwcSessions
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateQbwcSessions
- Defined in:
- lib/generators/qbwc/install/templates/db/migrate/create_qbwc_sessions.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/generators/qbwc/install/templates/db/migrate/create_qbwc_sessions.rb', line 2 def change create_table :qbwc_sessions, :force => true do |t| t.string :ticket t.string :user t.string :company, :limit => 1000 t.integer :progress, :null => false, :default => 0 t.string :current_job t.string :iterator_id t.string :error, :limit => 1000 t.string :pending_jobs, :limit => 1000, :null => false, :default => '' t. :null => false end end |