PDO4You\PDO4YouTest::createTables PHP Method

createTables() public method

public createTables ( )
    public function createTables()
    {
        // Creating tables Users and Books
        test::exec('CREATE TABLE users (id INTEGER PRIMARY KEY, firstname TEXT, lastname TEXT);');
        test::exec('CREATE TABLE books (id INTEGER PRIMARY KEY, title TEXT, author TEXT, description TEXT);');
    }