add public to users
This commit is contained in:
parent
509b0b332d
commit
858c535c3c
2 changed files with 7 additions and 1 deletions
5
db/migrate/20260219114040_add_public_to_users.rb
Normal file
5
db/migrate/20260219114040_add_public_to_users.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddPublicToUsers < ActiveRecord::Migration[8.0]
|
||||||
|
def change
|
||||||
|
add_column :users, :public, :boolean, default: false
|
||||||
|
end
|
||||||
|
end
|
||||||
3
db/schema.rb
generated
3
db/schema.rb
generated
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema[8.0].define(version: 2026_02_11_102848) do
|
ActiveRecord::Schema[8.0].define(version: 2026_02_19_114040) do
|
||||||
create_table "moods", force: :cascade do |t|
|
create_table "moods", force: :cascade do |t|
|
||||||
t.string "mode"
|
t.string "mode"
|
||||||
t.datetime "recorded_at"
|
t.datetime "recorded_at"
|
||||||
|
|
@ -47,6 +47,7 @@ ActiveRecord::Schema[8.0].define(version: 2026_02_11_102848) do
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.datetime "invitation_accepted_at"
|
t.datetime "invitation_accepted_at"
|
||||||
t.string "username", null: false
|
t.string "username", null: false
|
||||||
|
t.boolean "public", default: false
|
||||||
t.index ["email_address"], name: "index_users_on_email_address", unique: true
|
t.index ["email_address"], name: "index_users_on_email_address", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue