as the code to update these at the appropriate time. This isn't surfaced in AssetBase yet. Change the replace into to an insert into for asset create. Assets are not supposed to be updatable, and the replace into is more expensive. From: Sean Dague <sdague@gmail.com>
7 lines
125 B
PL/PgSQL
7 lines
125 B
PL/PgSQL
BEGIN;
|
|
|
|
ALTER TABLE assets add create_time integer default 0;
|
|
ALTER TABLE assets add access_time integer default 0;
|
|
|
|
COMMIT;
|