|
11 | 11 | #
|
12 | 12 | # It's strongly recommended that you check this file into your version control system.
|
13 | 13 |
|
14 |
| -ActiveRecord::Schema.define(version: 20220605132041) do |
| 14 | +ActiveRecord::Schema.define(version: 20230110075556) do |
15 | 15 |
|
16 | 16 | # These are extensions that must be enabled in order to support this database
|
17 | 17 | enable_extension "plpgsql"
|
|
237 | 237 | end
|
238 | 238 |
|
239 | 239 | create_table "users", force: :cascade do |t|
|
240 |
| - t.string "name", :limit=>255 |
241 |
| - t.string "email", :limit=>255, :default=>"", :null=>false, :index=>{:name=>"index_users_on_email", :unique=>true} |
242 |
| - t.string "encrypted_password", :limit=>128, :default=>"", :null=>false |
243 |
| - t.string "reset_password_token", :limit=>255, :index=>{:name=>"index_users_on_reset_password_token", :unique=>true} |
| 240 | + t.string "name", :limit=>255 |
| 241 | + t.string "email", :limit=>255, :default=>"", :null=>false, :index=>{:name=>"index_users_on_email", :unique=>true} |
| 242 | + t.string "encrypted_password", :limit=>128, :default=>"", :null=>false |
| 243 | + t.string "reset_password_token", :limit=>255, :index=>{:name=>"index_users_on_reset_password_token", :unique=>true} |
244 | 244 | t.datetime "reset_password_sent_at"
|
245 | 245 | t.datetime "remember_created_at"
|
246 | 246 | t.datetime "created_at"
|
247 | 247 | t.datetime "updated_at"
|
248 | 248 | t.text "ssh_key"
|
249 |
| - t.string "uname", :limit=>255, :index=>{:name=>"index_users_on_uname", :unique=>true} |
250 |
| - t.string "role", :limit=>255 |
251 |
| - t.string "language", :limit=>255, :default=>"en" |
252 |
| - t.integer "own_projects_count", :default=>0, :null=>false |
| 249 | + t.string "uname", :limit=>255, :index=>{:name=>"index_users_on_uname", :unique=>true} |
| 250 | + t.string "role", :limit=>255 |
| 251 | + t.string "language", :limit=>255, :default=>"en" |
| 252 | + t.integer "own_projects_count", :default=>0, :null=>false |
253 | 253 | t.text "professional_experience"
|
254 |
| - t.string "site", :limit=>255 |
255 |
| - t.string "company", :limit=>255 |
256 |
| - t.string "location", :limit=>255 |
257 |
| - t.string "avatar_file_name", :limit=>255 |
258 |
| - t.string "avatar_content_type", :limit=>255 |
| 254 | + t.string "site", :limit=>255 |
| 255 | + t.string "company", :limit=>255 |
| 256 | + t.string "location", :limit=>255 |
| 257 | + t.string "avatar_file_name", :limit=>255 |
| 258 | + t.string "avatar_content_type", :limit=>255 |
259 | 259 | t.integer "avatar_file_size"
|
260 | 260 | t.datetime "avatar_updated_at"
|
261 |
| - t.integer "failed_attempts", :default=>0 |
262 |
| - t.string "unlock_token", :limit=>255, :index=>{:name=>"index_users_on_unlock_token", :unique=>true} |
| 261 | + t.integer "failed_attempts", :default=>0 |
| 262 | + t.string "unlock_token", :limit=>255, :index=>{:name=>"index_users_on_unlock_token", :unique=>true} |
263 | 263 | t.datetime "locked_at"
|
264 |
| - t.string "confirmation_token", :limit=>255, :index=>{:name=>"index_users_on_confirmation_token", :unique=>true} |
| 264 | + t.string "confirmation_token", :limit=>255, :index=>{:name=>"index_users_on_confirmation_token", :unique=>true} |
265 | 265 | t.datetime "confirmed_at"
|
266 | 266 | t.datetime "confirmation_sent_at"
|
267 |
| - t.string "authentication_token", :limit=>255, :index=>{:name=>"index_users_on_authentication_token"} |
268 |
| - t.integer "build_priority", :default=>50 |
269 |
| - t.boolean "sound_notifications", :default=>true |
270 |
| - t.boolean "hide_email", :default=>true, :null=>false |
271 |
| - t.boolean "access_to_token_api", :default=>false |
| 267 | + t.string "authentication_token", :limit=>255, :index=>{:name=>"index_users_on_authentication_token"} |
| 268 | + t.integer "build_priority", :default=>50 |
| 269 | + t.boolean "sound_notifications", :default=>true |
| 270 | + t.boolean "hide_email", :default=>true, :null=>false |
| 271 | + t.boolean "access_to_token_api", :default=>false |
| 272 | + t.boolean "access_to_advisories_api", :default=>false |
272 | 273 | end
|
273 | 274 |
|
274 | 275 | create_table "invites", force: :cascade do |t|
|
|
0 commit comments