...
|
...
|
@@ -10,7 +10,7 @@ BEGIN |
|
|
RAISE NOTICE '视图不存在';
|
|
|
END IF;
|
|
|
END $$;
|
|
|
create view view_area_rel_expireds as select area_code,latest_update_time,created_at,area_rel_expired_id,remark,module,expired_at,latest_check_at,notice_times from area_rel_expireds;
|
|
|
create view view_area_rel_expireds as select area_rel_expired_id as id,area_code,latest_update_time,created_at,area_rel_expired_id,remark,module,expired_at,latest_check_at,notice_times from area_rel_expireds;
|
|
|
-- pk
|
|
|
-- jsonb
|
|
|
|
...
|
...
|
@@ -61,7 +61,7 @@ BEGIN |
|
|
RAISE NOTICE '视图不存在';
|
|
|
END IF;
|
|
|
END $$;
|
|
|
create view view_area_categorys as select area_code,area_category_id,category_type,tag,begin_time,created_at,deleted_at,end_time,latest_update_time,updated_at,status,operator_id from area_categorys;
|
|
|
create view view_area_categorys as select area_category_id as id,area_code,area_category_id,category_type,tag,begin_time,created_at,deleted_at,end_time,latest_update_time,updated_at,status,operator_id from area_categorys;
|
|
|
-- pk
|
|
|
-- jsonb
|
|
|
|
...
|
...
|
@@ -503,7 +503,7 @@ BEGIN |
|
|
RAISE NOTICE '视图不存在';
|
|
|
END IF;
|
|
|
END $$;
|
|
|
create view view_sales_methods as select created_at,data_from,sales_method_id,updated_at,method_name,operator_id,latest_update_time from sales_methods;
|
|
|
create view view_sales_methods as select sales_method_id as id,created_at,data_from,sales_method_id,updated_at,method_name,operator_id,latest_update_time from sales_methods;
|
|
|
-- pk
|
|
|
-- jsonb operator
|
|
|
|
...
|
...
|
|