-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Example:
t = createTable(name='testTable');
t.date(columnNames="startat,endat");
t.timestamps();
t.create();This will create datetime type columns for startat and endat.
In the file adapters\MicrosoftSQLServer.cfc I noticed variables.sqlTypes['date'] = {name='DATETIME'}, same as the datetime variable. I switched it to variables.sqlTypes['date'] = {name='DATE'} to test it on my instance and the date columns were now set to the DATE data type as expected.
I'm not familiar with the whole codebase for this plugin but if that's the only change required for this bug fix, I can submit a pull request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels