Sha256: 11a725f4d9501b6f87c16f2a0306bea87478d5c7acf8f8a843b4b8502c5d9ca1
Contents?: true
Size: 1.62 KB
Versions: 10
Compression:
Stored size: 1.62 KB
Contents
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended to check this file into your version control system. ActiveRecord::Schema.define(:version => 20120214023758) do create_table "shortened_urls", :force => true do |t| t.integer "owner_id" t.string "owner_type", :limit => 20 t.string "url", :null => false t.string "unique_key", :limit => 10, :null => false t.integer "use_count", :default => 0, :null => false t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "shortened_urls", ["owner_id", "owner_type"], :name => "index_shortened_urls_on_owner_id_and_owner_type" add_index "shortened_urls", ["unique_key"], :name => "index_shortened_urls_on_unique_key", :unique => true create_table "users", :force => true do |t| t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end end
Version data entries
10 entries across 10 versions & 1 rubygems