Announcement Announcement Module
Collapse
No announcement yet.
Database DDL script for JdbcConnectionRepository? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database DDL script for JdbcConnectionRepository?

    Hi,

    Is there a DDL script running around to create a database schema for the JdbcConnectionRepository? From what I can see, it's just a single Connection table with VARCHAR fields "accountId", "providerId", "accessToken", "secret", "refreshToken", "providerAccountId", but I don't know if there's a script somewhere that I'm not seeing.

    Cheers,
    Emerson

  • #2
    No, there's no script doing that for you. There is a DDL at org/springframework/social/connect/jdbc/ConnectionRepositorySchema.sql in the core module's JAR, though.

    The Spring Social Showcase sample runs that script automatically as part of the embedded-database setup (see data.xml). But Spring Social itself does no automatic creation of tables.

    Comment


    • #3
      Ah, there it is. Thanks.

      Comment

      Working...
      X