Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
26ea5792
Commit
26ea5792
authored
Jan 04, 2006
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
sql/database-create.sql
sql/database-create.sql
+2
-0
sql/database-migrate.txt
sql/database-migrate.txt
+8
-0
No files found.
sql/database-create.sql
View file @
26ea5792
...
@@ -61,6 +61,8 @@ CREATE TABLE archives (
...
@@ -61,6 +61,8 @@ CREATE TABLE archives (
idx
int
(
10
)
unsigned
NOT
NULL
auto_increment
,
idx
int
(
10
)
unsigned
NOT
NULL
auto_increment
,
directory
tinytext
,
directory
tinytext
,
date_created
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
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
)
PRIMARY
KEY
(
idx
)
)
TYPE
=
MyISAM
;
)
TYPE
=
MyISAM
;
...
...
sql/database-migrate.txt
View file @
26ea5792
...
@@ -3066,3 +3066,11 @@ last_net_act,last_cpu_act,last_ext_act);
...
@@ -3066,3 +3066,11 @@ last_net_act,last_cpu_act,last_ext_act);
next datetime default NULL,
next datetime default NULL,
PRIMARY KEY (object,type)
PRIMARY KEY (object,type)
) TYPE=MyISAM;
) 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
Markdown
is supported
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