Sha256: bc5961b3174e9131a19e8d457db0b770f24be70d5bf2a2b2653eb2e6558a8dde

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

class AddTasksTable < ActiveRecord::Migration[4.2]
  
  def change
    create_table :tasks do |t|
      t.string :name, null: false
      
      t.datetime :created_on
      t.datetime :updated_on
    end
    add_index "tasks", ["name"], name: "UN_tasks_name", unique: true
  end
  
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
imagine_cms-5.2.6 db/migrate/20121108005110_add_tasks_table.rb
imagine_cms-5.2.5 db/migrate/20121108005110_add_tasks_table.rb
imagine_cms-5.2.4 db/migrate/20121108005110_add_tasks_table.rb
imagine_cms-5.2.3 db/migrate/20121108005110_add_tasks_table.rb
imagine_cms-5.2.2 db/migrate/20121108005110_add_tasks_table.rb
imagine_cms-5.2.1 db/migrate/20121108005110_add_tasks_table.rb
imagine_cms-5.2.0 db/migrate/20121108005110_add_tasks_table.rb