mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 11:34:13 +00:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class AddAdminRoleToCurrentUsers < ActiveRecord::Migration[7.2]
|
||||||
|
def up
|
||||||
|
User.update_all(role: "admin")
|
||||||
|
end
|
||||||
|
end
|
||||||
2
db/schema.rb
generated
2
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[7.2].define(version: 2024_05_02_205006) do
|
ActiveRecord::Schema[7.2].define(version: 2024_05_20_074309) do
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
|||||||
Reference in New Issue
Block a user