Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
26ea5792
Commit
26ea5792
authored
Jan 04, 2006
by
Leigh B. Stoller
Browse files
Minor changes to the archives table; record when the archive is
archived to long term storage.
parent
36345fd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
26ea5792
...
...
@@ -61,6 +61,8 @@ CREATE TABLE archives (
idx
int
(
10
)
unsigned
NOT
NULL
auto_increment
,
directory
tinytext
,
date_created
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
archived
tinyint
(
1
)
default
'0'
,
date_archived
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
idx
)
)
TYPE
=
MyISAM
;
...
...
sql/database-migrate.txt
View file @
26ea5792
...
...
@@ -3066,3 +3066,11 @@ last_net_act,last_cpu_act,last_ext_act);
next datetime default NULL,
PRIMARY KEY (object,type)
) TYPE=MyISAM;
4.27: Some changes to the archive table:
alter table archives add archived tinyint(1) default '0';
alter table archives add date_archived int(10) unsigned \
NOT NULL default '0';
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment