Nested routes and database changes that are required

Basic home screen
Model and controller tests coming along
This commit is contained in:
2023-06-21 07:08:25 +01:00
parent bfd5d8533e
commit b76375d086
9 changed files with 85 additions and 14 deletions

6
db/schema.rb generated
View File

@@ -10,12 +10,14 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_05_10_184959) do
ActiveRecord::Schema[7.0].define(version: 2023_06_21_060115) do
create_table "credentials", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
t.string "email"
t.string "password"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "domain_id"
t.index ["domain_id"], name: "index_credentials_on_domain_id"
end
create_table "domains", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
@@ -50,6 +52,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_05_10_184959) do
t.string "destination"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "domain_id"
t.index ["domain_id"], name: "index_virtuals_on_domain_id"
end
end