Advertisement
wadosms

Untitled

Apr 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.48 KB | None | 0 0
  1. # encoding: UTF-8
  2. # This file is auto-generated from the current state of the database. Instead
  3. # of editing this file, please use the migrations feature of Active Record to
  4. # incrementally modify your database, and then regenerate this schema definition.
  5. #
  6. # Note that this schema.rb definition is the authoritative source for your
  7. # database schema. If you need to create the application database on another
  8. # system, you should be using db:schema:load, not running all the migrations
  9. # from scratch. The latter is a flawed and unsustainable approach (the more migrations
  10. # you'll amass, the slower it'll run and the greater likelihood for issues).
  11. #
  12. # It's strongly recommended that you check this file into your version control system.
  13.  
  14. ActiveRecord::Schema.define(version: 20170423172219) do
  15.  
  16.   # These are extensions that must be enabled in order to support this database
  17.   enable_extension "plpgsql"
  18.  
  19.   create_table "events", force: :cascade do |t|
  20.     t.datetime "due_date"
  21.     t.string   "type",        null: false
  22.     t.string   "description"
  23.     t.string   "details"
  24.     t.datetime "created_at",  null: false
  25.     t.datetime "updated_at",  null: false
  26.   end
  27.  
  28.   create_table "links", force: :cascade do |t|
  29.     t.string   "source",     null: false
  30.     t.string   "target",     null: false
  31.     t.datetime "created_at", null: false
  32.     t.datetime "updated_at", null: false
  33.   end
  34.  
  35.   add_index "links", ["source"], name: "index_links_on_source", unique: true, using: :btree
  36.  
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement