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