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,7 +12,7 @@ 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,
|
||||
`created` TEXT NOT NULL,
|
||||
`message` TEXT NOT NULL,
|
||||
FOREIGN KEY (`entry_id`)
|
||||
REFERENCES `entry` (`entry_id`)
|
||||
|
Loading…
Reference in New Issue
Block a user