|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema.define(version: 20180714153306) do |
| 13 | +ActiveRecord::Schema.define(version: 20181107172409) do |
14 | 14 |
|
15 | 15 | # These are extensions that must be enabled in order to support this database |
16 | 16 | enable_extension "plpgsql" |
|
173 | 173 | t.index ["user_id"], name: "index_notes_on_user_id" |
174 | 174 | end |
175 | 175 |
|
| 176 | + create_table "postal_addresses", force: :cascade do |t| |
| 177 | + t.string "address_line_1" |
| 178 | + t.string "address_line_2" |
| 179 | + t.string "city" |
| 180 | + t.string "state_or_province" |
| 181 | + t.string "postal_code" |
| 182 | + t.string "country" |
| 183 | + t.bigint "user_id" |
| 184 | + t.datetime "created_at", null: false |
| 185 | + t.datetime "updated_at", null: false |
| 186 | + t.index ["user_id"], name: "index_postal_addresses_on_user_id" |
| 187 | + end |
| 188 | + |
176 | 189 | create_table "projects", id: :serial, force: :cascade do |t| |
177 | 190 | t.string "name", limit: 255 |
178 | 191 | t.datetime "created_at" |
|
296 | 309 | t.string "twitter_handle", limit: 255 |
297 | 310 | t.string "irc_handle", limit: 255 |
298 | 311 | t.string "tshirt_size", limit: 255 |
299 | | - t.text "postal_address" |
300 | 312 | t.string "timezone", limit: 255 |
301 | 313 | t.string "interested_in", limit: 255, default: [], array: true |
302 | 314 | t.boolean "hide_email" |
|
339 | 351 | t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true |
340 | 352 | end |
341 | 353 |
|
| 354 | + add_foreign_key "postal_addresses", "users" |
342 | 355 | add_foreign_key "teams", "projects" |
343 | 356 | end |
0 commit comments