schema syntax change

This commit is contained in:
Dave Horton
2020-07-22 11:51:19 -04:00
parent 9df6925b47
commit d3c347ac3f
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -6,4 +6,3 @@ services:
- mysql
script:
- npm test
- cat /home/travis/build/jambonz/jambonz-api-server/test/../db/jambones-sql.sql
+1 -1
View File
@@ -57,7 +57,7 @@ account_sid CHAR(36),
service_provider_sid CHAR(36),
expires_at TIMESTAMP,
last_used TIMESTAMP,
created_at TIMESTAMP DEFAULT NOW(),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (api_key_sid)
) ENGINE=InnoDB COMMENT='An authorization token that is used to access the REST api';
+2 -2
View File
@@ -141,7 +141,7 @@
<y>38.00</y>
</location>
<size>
<width>252.00</width>
<width>245.00</width>
<height>160.00</height>
</size>
<zorder>1</zorder>
@@ -204,7 +204,7 @@
<SQLField>
<name><![CDATA[created_at]]></name>
<type><![CDATA[TIMESTAMP]]></type>
<defaultValue><![CDATA[NOW()]]></defaultValue>
<defaultValue><![CDATA[CURRENT_TIMESTAMP]]></defaultValue>
<uid><![CDATA[C84C9B6A-80B5-4B0B-8C14-EB02F7421BBE]]></uid>
</SQLField>
<labelWindowIndex><![CDATA[13]]></labelWindowIndex>