在使用从转储文件重建我的PostgreSQL数据库pg_restore,我的模式文件db/schema.rb,现在的前缀gen_random_uuid()与功能public。
pg_restore
db/schema.rb
gen_random_uuid()
public
create_table "cars", id: :uuid, default: -> { "public.gen_random_uuid()" }
如何防止模式文件使用前缀方法调用public?
postgresql ruby-on-rails
postgresql ×1
ruby-on-rails ×1