import sqlite3

conn = sqlite3.connect('database.db')
print("Opened database successfully")

conn.execute(
    'CREATE TABLE articles (id TEXT, title TEXT, lastauthor TEXT, '
    'fulljournalname TEXT, pubdate DATE, link TEXT)'
)
print("Table created successfully")
conn.close()
