def METHOD_NAME(self, scheduler, alias):
    super(RethinkDBJobStore, self).METHOD_NAME(scheduler, alias)
    if self.client:
        self.conn = maybe_ref(self.client)
    else:
        self.conn = self.r.connect(db=self.database, **self.connect_args)
    if self.database not in self.r.db_list().run(self.conn):
        self.r.db_create(self.database).run(self.conn)
    if self.table_name not in self.r.table_list().run(self.conn):
        self.r.table_create(self.table_name).run(self.conn)
    if 'next_run_time' not in self.r.table(self.table_name).index_list().run(self.conn):
        self.r.table(self.table_name).index_create('next_run_time').run(self.conn)
    self.table = self.r.db(self.database).table(self.table_name)