-- You should have received a copy of the GNU General Public License
-- along with MoLe. If not, see <https://www.gnu.org/licenses/>.
+BEGIN TRANSACTION;
+
create table transactions(id varchar primary key, date varchar, description varchar);
create table transaction_accounts(transaction_id integer not null, account_name varchar not null, amount float, currency varchar, foreign key (transaction_id) references transactions(id), foreign key(account_name) references accounts(name));
+
+COMMIT TRANSACTION;
\ No newline at end of file