server/sources/native.py
branchstable
changeset 5214 3285b6e3b930
parent 5168 1ab032df5ca3
child 5217 08e7fa906cdb
equal deleted inserted replaced
5211:8fac9cd3c510 5214:3285b6e3b930
  1246     helper = get_db_helper(driver)
  1246     helper = get_db_helper(driver)
  1247     return """
  1247     return """
  1248 %s
  1248 %s
  1249 DROP TABLE entities;
  1249 DROP TABLE entities;
  1250 DROP TABLE deleted_entities;
  1250 DROP TABLE deleted_entities;
  1251 DROP TABLE transactions;
       
  1252 DROP TABLE tx_entity_actions;
  1251 DROP TABLE tx_entity_actions;
  1253 DROP TABLE tx_relation_actions;
  1252 DROP TABLE tx_relation_actions;
       
  1253 DROP TABLE transactions;
  1254 """ % helper.sql_drop_sequence('entities_id_seq')
  1254 """ % helper.sql_drop_sequence('entities_id_seq')
  1255 
  1255 
  1256 
  1256 
  1257 def grant_schema(user, set_owner=True):
  1257 def grant_schema(user, set_owner=True):
  1258     result = ''
  1258     result = ''