Removed unneded CURRENT_TIMESTAMP defaults.
This commit is contained in:
parent
081d6147b8
commit
837fec8545
@ -1,7 +1,7 @@
|
||||
-- SQLite3
|
||||
CREATE TABLE IF NOT EXISTS `entry` (
|
||||
`entry_id` INTEGER PRIMARY KEY NOT NULL,
|
||||
`created` TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`created` TEXT NOT NULL,
|
||||
`name` TEXT NOT NULL,
|
||||
`message` TEXT NOT NULL,
|
||||
`website` TEXT NOT NULL,
|
||||
@ -12,8 +12,8 @@ CREATE INDEX IF NOT EXISTS `entry_created_idx`
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `reply` (
|
||||
`entry_id` INTEGER PRIMARY KEY NOT NULL,
|
||||
`created` TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`message` TEXT NOT NULL,
|
||||
`created` TEXT NOT NULL,
|
||||
`message` TEXT NOT NULL,
|
||||
FOREIGN KEY (`entry_id`)
|
||||
REFERENCES `entry` (`entry_id`)
|
||||
ON DELETE CASCADE
|
||||
|
Loading…
Reference in New Issue
Block a user