<commit_before>"""
"""
import os
import json
from sqlalchemy import (create_engine, Table, Column, String, Integer,
                        PickleType, Boolean, DateTime, Float, Text,
                        MetaData, select, ForeignKey, bindparam,
                        delete, and_)
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.sql import func
from config import Configuration

engine = create_engine(Configuration.SQLALCHEMY_DATABASE_URI, echo=True)

engine.execute('alter table post add column start datetime')
engine.execute('alter table post add column end datetime')
engine.execute('alter table post add column updated datetime')<commit_msg>fix migrations script to work with psql<commit_after>"""
"""
import os
import json
from sqlalchemy import (create_engine, Table, Column, String, Integer,
                        PickleType, Boolean, DateTime, Float, Text,
                        MetaData, select, ForeignKey, bindparam,
                        delete, and_)
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.sql import func
from config import Configuration

engine = create_engine(Configuration.SQLALCHEMY_DATABASE_URI, echo=True)

engine.execute('alter table post add column "start" type timestamp with time zone')
engine.execute('alter table post add column "end" type timestamp with time zone')
engine.execute('alter table post add column updated timestamp')


{'fraction_non_alphanumeric': 0.072778166550035, 'fraction_numerical': 0.0, 'mean_word_length': 3.750830564784053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1355201', 'n_tokens_mistral': 364, 'n_tokens_neox': 349, 'n_words': 133}