Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Add method for new table creation #42

Closed
wants to merge 1 commit into from

Conversation

charulagrl
Copy link
Contributor

No description provided.

basedir = os.path.abspath(os.path.dirname(__file__))

create_tables(fedmsg.config.get('summershum.sqlalchemy.url') or
'sqlite:///' + os.path.join(basedir, 'summershum.db'), True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would define the db_url above and use it in the config.get() instead

@pypingou
Copy link
Member

@charulagrl ping?

@ralphbean
Copy link
Contributor

OK, we haven't heard back on this so I'm going to close it. Please resubmit if there's ongoing work.

@ralphbean ralphbean closed this May 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants