Advertisement
Guest User

Untitled

a guest
Apr 14th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 1.51 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: 20150415010734) do
  15.  
  16.   create_table "locations", force: :cascade do |t|
  17.     t.datetime "created_at", null: false
  18.     t.datetime "updated_at", null: false
  19.     t.string   "name"
  20.   end
  21.  
  22.   create_table "weather_conditions", force: :cascade do |t|
  23.     t.datetime "created_at",          null: false
  24.     t.datetime "updated_at",          null: false
  25.     t.string   "source"
  26.     t.datetime "hour"
  27.     t.float    "rainfall_mm"
  28.     t.float    "temperature_celsius"
  29.     t.float    "dew_point_celsius"
  30.     t.string   "wind_direction"
  31.     t.float    "wind_speed_km_h"
  32.   end
  33.  
  34.   create_table "year_month_days", force: :cascade do |t|
  35.     t.datetime "created_at", null: false
  36.     t.datetime "updated_at", null: false
  37.     t.datetime "date"
  38.   end
  39.  
  40. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement