def premetadata_create_account_stat_table(self, conn, put_timestamp):
 conn.executescript("\n        CREATE TABLE account_stat (\n            account TEXT,\n            created_at TEXT,\n            put_timestamp TEXT DEFAULT '0',\n            delete_timestamp TEXT DEFAULT '0',\n            container_count INTEGER,\n            object_count INTEGER DEFAULT 0,\n            bytes_used INTEGER DEFAULT 0,\n            hash TEXT default '00000000000000000000000000000000',\n            id TEXT,\n            status TEXT DEFAULT '',\n            status_changed_at TEXT DEFAULT '0'\n        );\n\n        INSERT INTO account_stat (container_count) VALUES (0);\n    ")
 conn.execute('\n        UPDATE account_stat SET account = ?, created_at = ?, id = ?,\n               put_timestamp = ?\n        ', (self.account, normalize_timestamp(time()), str(uuid4()), put_timestamp))

def premetadata_create_account_stat_table ( self , conn , put_timestamp ) : conn . executescript ( "\n        CREATE TABLE account_stat (\n            account TEXT,\n            created_at TEXT,\n            put_timestamp TEXT DEFAULT '0',\n            delete_timestamp TEXT DEFAULT '0',\n            container_count INTEGER,\n            object_count INTEGER DEFAULT 0,\n            bytes_used INTEGER DEFAULT 0,\n            hash TEXT default '00000000000000000000000000000000',\n            id TEXT,\n            status TEXT DEFAULT '',\n            status_changed_at TEXT DEFAULT '0'\n        );\n\n        INSERT INTO account_stat (container_count) VALUES (0);\n    " ) conn . execute ( '\n        UPDATE account_stat SET account = ?, created_at = ?, id = ?,\n               put_timestamp = ?\n        ' , ( self . account , normalize_timestamp ( time ( ) ) , str ( uuid4 ( ) ) , put_timestamp ) )
copied from swift .