Added CreatedAt field to URL model
This commit is contained in:
@@ -15,7 +15,8 @@ func Seed(session gocqlx.Session) error {
|
||||
err = session.ExecStmt(`
|
||||
CREATE TABLE IF NOT EXISTS fivefeeteleven.urls (
|
||||
id text PRIMARY KEY,
|
||||
long_url text
|
||||
long_url text,
|
||||
created_at timestamp
|
||||
)`)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user