Sha256: 924f4601622df02ecee3a9a0bf31e81f013aa093d7a2d11deca339afb5a6528f
Contents?: true
Size: 467 Bytes
Versions: 44
Compression:
Stored size: 467 Bytes
Contents
class AddTasks < ActiveRecord::Migration def self.up create_table :tasks do |t| t.integer :workspace_id, :null => false, :default => 1 t.string :created_by t.string :module t.datetime :completed_at t.string :path, :limit => 1024 t.string :info t.string :description t.integer :progress t.text :options t.text :error t.timestamps null: false end end def self.down drop_table :tasks end end
Version data entries
44 entries across 44 versions & 1 rubygems