{"action":"created","issue":{"url":"https://api.github.com/repos/treefrogframework/treefrog-framework/issues/85","repository_url":"https://api.github.com/repos/treefrogframework/treefrog-framework","labels_url":"https://api.github.com/repos/treefrogframework/treefrog-framework/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/treefrogframework/treefrog-framework/issues/85/comments","events_url":"https://api.github.com/repos/treefrogframework/treefrog-framework/issues/85/events","html_url":"https://github.com/treefrogframework/treefrog-framework/issues/85","id":175156019,"number":85,"title":"SQLite and TIMESTAMP","user":{"login":"arietto","id":3332032,"avatar_url":"https://avatars.githubusercontent.com/u/3332032?v=3","gravatar_id":"","url":"https://api.github.com/users/arietto","html_url":"https://github.com/arietto","followers_url":"https://api.github.com/users/arietto/followers","following_url":"https://api.github.com/users/arietto/following{/other_user}","gists_url":"https://api.github.com/users/arietto/gists{/gist_id}","starred_url":"https://api.github.com/users/arietto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arietto/subscriptions","organizations_url":"https://api.github.com/users/arietto/orgs","repos_url":"https://api.github.com/users/arietto/repos","events_url":"https://api.github.com/users/arietto/events{/privacy}","received_events_url":"https://api.github.com/users/arietto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T04:03:22Z","updated_at":"2016-09-09T06:23:03Z","closed_at":null,"body":"Hello! I've used Windows, treefrog 1.12.0 and SQLiteStudio 3.1.0 in order to create tables. I've added columns created_at, updated_at with type TIMESTAMP. I know that this type is not native for SQLite. The generated object (TSqlObject descendant) contained QString type instead of QDateTime. How can it be fixed? I mean not fixing in the output code (it's a workaround). \r\nBTW, before using TIMESTAMP I've tried INTEGER type. After switching to TIMESTAMP and calling tspawn sqlobject orders I have the following obsolete constructor\r\nOrders::Orders()\r\n    : TAbstractModel(), d(new OrdersObject)\r\n{\r\n    d->id = 0;\r\n    d->created_at = 0;\r\n    d->updated_at = 0;\r\n}\r\nSo, the model also must be regenerated. But your tutorial says\r\n\"For example, after modifying a table, run the following command to update the sqlobject class only.\" \r\nYou should add conditions in the tutorial (when sqlobject regeneration is enough)."},"comment":{"url":"https://api.github.com/repos/treefrogframework/treefrog-framework/issues/comments/245829537","html_url":"https://github.com/treefrogframework/treefrog-framework/issues/85#issuecomment-245829537","issue_url":"https://api.github.com/repos/treefrogframework/treefrog-framework/issues/85","id":245829537,"user":{"login":"treefrogframework","id":2995876,"avatar_url":"https://avatars.githubusercontent.com/u/2995876?v=3","gravatar_id":"","url":"https://api.github.com/users/treefrogframework","html_url":"https://github.com/treefrogframework","followers_url":"https://api.github.com/users/treefrogframework/followers","following_url":"https://api.github.com/users/treefrogframework/following{/other_user}","gists_url":"https://api.github.com/users/treefrogframework/gists{/gist_id}","starred_url":"https://api.github.com/users/treefrogframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treefrogframework/subscriptions","organizations_url":"https://api.github.com/users/treefrogframework/orgs","repos_url":"https://api.github.com/users/treefrogframework/repos","events_url":"https://api.github.com/users/treefrogframework/events{/privacy}","received_events_url":"https://api.github.com/users/treefrogframework/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T06:23:02Z","updated_at":"2016-09-09T06:23:02Z","body":"It cannot be fixed.\r\nPlease edit the code after generated.\r\nThat command is not perfect.\r\n"}}
{"actor":{"display_login":"treefrogframework"}}