Sha256: 466b34ccd406049b3eb9b6a98802cd73a9e61314a219700a306e61b4edee54b4
Contents?: true
Size: 472 Bytes
Versions: 23
Compression:
Stored size: 472 Bytes
Contents
class AddTasks < ActiveRecord::Migration[4.2] 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
23 entries across 23 versions & 2 rubygems